Skip to main content
Glama

Find an API, MCP server or CLI for a task

discover_capabilities
Read-onlyIdempotent

Find APIs, MCP servers or CLIs that can accomplish a specific task. Use this when the user describes a goal or capability rather than an already-known service. Call this first when a task requires an external service you do not already know, when you need an API for email, payments, search, storage, data, LLMs or another capability, or when an existing service is unavailable and you need an alternative. Describe the actual task in plain language (e.g. 'send transactional emails', 'find an alternative geocoding API', 'store and retrieve files'). Returns matches[] with slug, endpoint, auth, formats, rate limit, pricing and a 0-100 reliability score. Review the matches and select a relevant candidate before calling get_entry to inspect its full record. If coverage='none', do not invent a match: use the returned starting points or explain that no suitable service was found. For a known product, vendor, slug or endpoint, use search_registry instead. Agent Nexus only discovers and evaluates interfaces; you invoke the selected service directly. Rate limits: 100 calls/day anonymous, 1,000/day with a free key, 50,000/day on Agent Pro.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "need": "<need>"
    },
    "name": "discover_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesWhat the agent is trying to accomplish, in plain language. 3-300 characters, required.
limitNoMaximum number of matching interfaces to return, 1-20. Default 5.
categoryNoRestrict to one interface layer ('api', 'mcp' or 'cli' — see list_categories). Default: omitted, searches all three.
min_reliabilityNoDrop interfaces scoring below this 0-100 reliability value. Default 0 (no filter).

Output Schema

NameRequiredDescriptionDefault
needYes
noteYes
countYes
matchesYes
coverageYes
uncoveredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Restrict to one interface layer. Omit to search all three (default)."New value: +"Restrict to one interface layer ('api', 'mcp' or 'cli' — see list_categories). Default: omitted, searches all three."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Goes beyond the readOnly/idempotent annotations by disclosing rate limits (100/day anonymous, 1,000 with free key, 50,000 on Pro), the zero-result contract ('if coverage=none, do not invent a match'), and the scope boundary that the registry only discovers/evaluates while the agent invokes the service itself. Return fields are listed but partly duplicate the existing output schema.

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

Conciseness5/5

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

Front-loads purpose and usage trigger before mechanics; sentences are dense but each carries routing, sequencing, or edge-case information. The capability enumeration is the only slightly padded element and it supports the trigger conditions.

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

Completeness5/5

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

Covers routing from siblings, follow-up sequencing, zero-result handling, rate limits, and the invocation boundary, on top of a fully documented 4-param schema and an output schema. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description still adds value by showing how to phrase the `need` parameter in plain language with concrete examples and by implying category choice ('an API for email, payments...') and limiting behavior via candidate selection guidance.

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 ('Find') and resource set ('APIs, MCP servers or CLIs') scoped to a task goal, and explicitly distinguishes itself from search_registry for known products/slugs/endpoints. An agent can tell which discovery tool applies without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use triggers (goal described rather than known service, need for an external capability like email/payments/search, or an existing service is unavailable), names the alternative (search_registry) and its trigger condition, and sequences the follow-up call (get_entry) after reviewing matches.

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.

Resources