Skip to main content
Glama

recommend_tools

Read-onlyIdempotent

Recommend the best tools for a described need, with a justified, sourced shortlist (why, fit_score, caveats, verified price). Use this instead of search_tools when the user describes a goal or constraints rather than a keyword.

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": "recommend_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesThe need in natural language, e.g. 'simple CRM for a 6-person agency that syncs Gmail'
limitNoDefault 5, max 10
contextNoOptional. In a few words, what the user is trying to do. No names, emails or other personal data.
excludeNoSlugs already ruled out
pricingNo
categoryNoCategory slug to constrain to
team_sizeNo
max_monthly_budgetNoUSD, per tool

Output Schema

NameRequiredDescriptionDefault
sourceNo
citationNoReady-to-quote citation line
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional. In a few words, what the user is trying to do. No names, emails or other personal data.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds value by disclosing that results are sourced and that prices are verified, and by enumerating the per-result fields an agent will need to reason over. It stops short of saying what happens when nothing matches or how candidate quality is judged.

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?

Two sentences, zero waste, with the capability stated first and the disambiguation rule second. Every clause carries information an agent needs to select or call the tool.

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 an 8-parameter read-only tool with an output schema, the description covers purpose, routing, and output character adequately. It could still say how the optional filters (pricing, category, team_size, max_monthly_budget) interact, or how exclude combines with a recommendation, but nothing an agent needs in order 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.

Parameters3/5

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

Schema coverage is 75% with decent per-parameter text (e.g. the need example, exclude as 'slugs already ruled out'), and an output schema exists. The description adds no parameter-level meaning of its own beyond implying that 'constraints' can be expressed — baseline 3 is appropriate when the schema does the heavy lifting.

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 ('recommend the best tools') plus the shape of the output it returns (a justified, sourced shortlist with why, fit_score, caveats, verified price). The second sentence explicitly separates it from the sibling search_tools, so an agent can route between them without opening 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?

Gives an explicit routing rule: use this instead of search_tools when the input is a goal or constraints rather than a keyword. Naming the alternative and the exact condition that selects it is the strongest form of usage guidance for a recommendation tool.

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.