Skip to main content
Glama

Recommend a search provider

recommend_provider

Use when a software agent needs an AOPX recommendation for the SEARCH category instead of hard-coding a single supported provider. Supported modes are ECONOMY and CRITICAL. Returns a primary provider and, when applicable, a fallback provider plus a recommendation_id. AOPX does not execute the search and does not handle payment; the caller executes the provider path externally. After a real execution, call report_outcome with the same recommendation_id. max_cost_eur and max_latency_ms are accepted and recorded by the current v0 interface but are not enforced as hard routing constraints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
client_idNo
max_cost_eurNo
max_latency_msNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "ECONOMY",
      -  "CRITICAL"
      -]New value: +[
      +  "ECONOMY",
      +  "BALANCED",
      +  "CRITICAL"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: AOPX does not execute the search or handle payment, the caller executes externally, and max_cost_eur/max_latency_ms are recorded but not enforced as routing constraints. The annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=false) leave the side-effect profile ambiguous, and the description's note that this is a recommendation, not an execution, helps. However, it claims only ECONOMY and CRITICAL modes are supported while the schema enum also contains BALANCED, an internal inconsistency.

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?

Front-loaded with the usage condition and efficient throughout; every sentence carries information about scope, return shape, follow-up, or parameter caveats. Slightly dense, but no filler.

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 an output schema present, the description need not enumerate return fields, yet it usefully summarizes the primary/fallback/recommendation_id result and the report_outcome loop. The gaps are the unexplained client_id and the mode mismatch with the schema enum, which leave the caller with ambiguity on a required parameter.

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 0%, so the description has to carry parameter meaning. It does explain that max_cost_eur and max_latency_ms are accepted and recorded but not enforced, which the schema does not say, but it never mentions client_id, and its mode guidance omits (and effectively contradicts) the BALANCED enum value. Partial compensation only.

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 (return an AOPX provider recommendation for the SEARCH category) and clarifies the scope of the result: a primary provider, an optional fallback, and a recommendation_id. It is clearly distinguishable from the sibling report_outcome, which it explicitly positions as a downstream step.

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 a concrete trigger ('Use when a software agent needs an AOPX recommendation ... instead of hard-coding a single supported provider') and names the follow-up action (call report_outcome with the same recommendation_id). It does not state any when-not condition or negative case, so it falls short of a full 5.

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