Skip to main content
Glama

Find a catalog API

find_api
Read-onlyIdempotent

Searches the catalog of ready-made APIs by site, topic words and the output fields wanted. Returns matches best first: api_id and endpoint_id, the site, which requested fields each returns (fields_matched, fields_missing), its inputs (with patterns, examples and allowed values) and required_inputs, how it has run lately (reliability), the site's other APIs and run_with, the run_api call that runs it, with a in its input for each value the caller supplies (run_with.supply says what it takes). A named site's APIs come first. Nothing runs and nothing is charged. next is build_api when nothing covers the fields; next_offset pages on.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe site you want data from: a domain (shop.example), a URL or a name. Matched against each API's site.
limitNoMatches to return, best first.
topicNoWords for what the data is about (laptop prices, job listings). Each word is searched on its own.
fieldsNoOutput fields you need (price, rating, address). Each hit lists which it returns (fields_matched) and which it lacks (fields_missing).
offsetNoMatches to skip: the next_offset of the previous answer.

Output Schema

NameRequiredDescriptionDefault
hintNo
nextNo
countYes
queryYes
totalNo
matchesYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, non-open-world behavior, and the description reinforces this with 'Nothing runs and nothing is charged.' Beyond that it discloses non-obvious behavior: result ordering (a named site's APIs come first, otherwise best match), what run_with.supply means, and how paging works.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well front-loaded, but the long middle sentence is a run-on that enumerates return fields already covered by the output schema, which dilutes the routing information that matters most. It is dense rather than wasteful, but tighter grouping would improve it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter read tool with full schema coverage, annotations and an output schema, the description covers ordering, paging and escalation adequately. The only gap is guidance against the other catalog-introspection siblings, which is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and each parameter is already documented with examples and defaults, so baseline is 3. The description largely restates the same parameter intent (site, topic words, output fields) without adding format or precedence rules beyond 'a named site's APIs come first.'

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: searching the catalog of ready-made APIs, scoped by site, topic words and wanted output fields. It is clearly distinguishable from run_api (which executes) and build_api (which is named as the fallback when nothing matches).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear routing on two edges: go to build_api when nothing covers the requested fields, and page with next_offset. It does not contrast with near siblings such as get_api or describe_api_filters, so the agent must infer when a direct lookup beats a search, but the core usage context is explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.