Skip to main content
Glama

discover_tools

Read-only

WHEN TO CALL: when you need a capability and don't know which tool provides it, and want several options rather than route_task's single pick. Takes a plain-language query ('send a slack message', 'convert currency') and returns live tools ranked by fit, each with its input schema, connection endpoint and free/paid status, so you can call one immediately.

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 8, max 25).
queryYesPlain-language description of the capability you need (e.g. 'send an email').
categoryNoOptional capability category to narrow results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds non-obvious behavioral context by specifying that results are live (not cached) and ranked by fit, and what metadata each result carries. It does not cover edge behavior such as zero-match responses or ranking criteria, keeping it short of a 5.

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

Conciseness4/5

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

A single front-loaded sentence keyed to 'WHEN TO CALL', with no filler. It is slightly dense and run-on by the end (three clauses about return shape), but every clause carries information.

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?

With no output schema, the description correctly spends its words on the return shape (ranked tools, input schema, connection endpoint, free/paid status) so an agent knows it can act on results immediately. Gaps are minor: nothing about no-match handling or how ranking is determined.

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 coverage is 100%, so query, limit and category are already documented, including defaults and max. The description's query examples duplicate the schema's own example ('send an email' vs 'send a slack message') and it says nothing about limit or category, so it adds little beyond the schema.

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 ('discover') and resource (tools) plus the exact input form (plain-language query) and output form (ranked tools with schema, endpoint, pricing). It explicitly distinguishes itself from route_task's single pick, so an agent can separate it from the closest sibling without reading either 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?

Opens with an explicit WHEN TO CALL condition ('you need a capability and don't know which tool provides it') and names the alternative (route_task) with the deciding criterion: several options vs a single pick. No inference required.

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