Skip to content

Smart AI catalog filter across UI, API and MCP

Describe a pain point, question or desired feature in plain English or Portuguese and let Agentalog assemble validated filters (kind, topic, transport, verified seals) and precision-rank matching tools via UI, HTTP API or MCP.

Updated

1Ask by pain point or desired feature right in the catalog

Open https://agentalog.com/ (or /pt) and describe what your agent needs to solve — for example, automating browser tests remotely without local setup or querying Postgres and sending Slack alerts.

  • Automatic filter assembly: the engine converts your prompt into validated slices across resource kind (MCP, skill or add-on), topic, transport and verified seals.
  • Transparent controls: every assembled criterion is explained above the list and reflected in active filter chips, so you can refine filters or return to raw search in one click.

2Query the HTTP API (POST /api/catalog/smart-filter or GET /api/x402/smart-filter)

Send your prompt as JSON (up to 300 characters) to POST /api/catalog/smart-filter with payment (Authorization: Bearer cred_… prepaid credit, account balance or PAYMENT-SIGNATURE via x402) — direct HTTP API calls have no anonymous free tier and cost US$ 0.01 per call.

  • On the web UI (protected behind Cloudflare Turnstile): each person gets 1 free personalized query per day (within a 100/day product-wide free cap); further queries open the US$ 0.01 payment dialog.
  • Accountless agents: call GET /api/x402/smart-filter?q=... or POST /api/catalog/smart-filter to receive HTTP 402 with a US$ 0.01 quote via x402 USDC on Base or prepaid credit.
  • Automation-ready response: returns the assembled filters, discriminating terms, curated synonym expansions, FULLTEXT ladder strategy, shareable catalog_url, allowance/billing receipt (cobranca) and precision-ranked items.
  • Explicit filter locks: any filter field passed explicitly (such as kind: "mcp" or trusted: true) always overrides inferred values.
curl -s -XPOST https://agentalog.com/api/catalog/smart-filter -H "content-type: application/json" -H "authorization: Bearer cred_..." -d '{"query":"I need a remote verified MCP server to automate browser tests and capture screenshots","limit":10}'

3Call smart_filter_catalog directly from your agent over MCP

Agents connected to https://agentalog.com/mcp receive the smart_filter_catalog tool in the core toolset.

Authenticated MCP accounts (X-Api-Key: mmk_… or OAuth Bearer mmo_…) receive 1 free query per day; unauthenticated MCP calls or extra queries return the HTTP 402 offer at US$ 0.01 (prepaid credit, balance or x402).

Instead of guessing topic slugs or issuing multiple broad searches, the agent sends the user's pain point in a single call and receives both the structured filters and precision-ranked candidates.

curl -s -XPOST https://agentalog.com/mcp -H "content-type: application/json" -H "x-api-key: mmk_..." -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"smart_filter_catalog","arguments":{"query":"query postgres safely and notify slack","limit":8}}}'

4How the 4-layer shared SDK engine works (@mm/ia/filtro-inteligente)

The smart filter lives in the shared @mm/ia/filtro-inteligente SDK across four complementary layers with built-in security and cost barriers:

  • Abuse guard with OWASP alerts and Turnstile: blocks prompt-injection phrases, XML breakout tags, invisible/BiDi chars and queries over 300 chars before quota or AI, emits structured security alerts (abuse_detected / input_validation_fail), enforces Cloudflare Turnstile on browser UI, authenticated MCP for the 1 daily free call and paid-only access on direct HTTP API, plus 5s burst cadence and a 10-minute normalized cache.
  • Noise pruning and bilingual synonyms: strips conversational filler, maps Portuguese pain points to indexed English catalog terms and expands curated synonym groups.
  • Structured planner through the unified SDK AI service (@mm/ia/cliente-servico): emits a strict allowlist-validated JSON filter plan with 100% deterministic explanations (free LLM prose is never echoed back).
  • 3-tier FULLTEXT ladder and two-stage reranking: tries strict, complemented and relaxed tiers, followed by deterministic lexical rerank and top-20 permutation-only semantic rerank (the model can only reorder existing IDs and can never invent or drop items).