Skip to main content
Glama

route_task

Read-only

Choose the best MCP server/tools for a task. Use decide_agent_call when evaluating one specific attempted tool call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesTask the agent wants to perform.
max_riskNoMaximum allowed tool risk.
candidateNoOptional namespace/name server identifier to evaluate directly.
capabilitiesNoOptional capability constraints such as healthcare, search, database, read, or write.
client_targetNo
requires_oauthNo
max_freshness_hoursNo
no_write_without_approvalNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, and the description does not contradict this. The description adds no additional behavioral context such as what the routing decision entails, how risky parameters are handled, or what output to expect. It mainly restates purpose and a sibling distinction, so with annotations present a neutral score of 3 is appropriate.

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?

The description is two sentences and front-loads the core purpose, followed by a useful pointer to the main alternative. Every sentence earns its place with no filler or redundancies.

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

Completeness2/5

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

Despite having 8 parameters and no output schema, the description offers only a purpose statement and one usage pointer. It does not explain the routing criteria, how optional constraints (max_risk, capabilities, requires_oauth, etc.) affect the result, or what the tool returns, leaving the agent without critical context for correct invocation.

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

Parameters2/5

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

Schema description coverage is 50%, with several parameters lacking descriptions (e.g., client_target, requires_oauth, max_freshness_hours, no_write_without_approval). The tool description does not compensate by explaining any of these parameters, their relationships, or effects on routing behavior, 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?

The description uses a specific verb and resource: 'Choose the best MCP server/tools for a task.' This clearly states the tool's purpose and distinguishes it from the sibling decide_agent_call by explicitly saying to use that tool when evaluating one specific attempted tool call.

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?

The description gives an explicit alternative: 'Use decide_agent_call when evaluating one specific attempted tool call.' However, it does not address other potentially similar siblings like recommend_servers or search_servers, so guidance is clear for one key distinction but not comprehensive across all alternatives.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools target distinct resources and actions (e.g., get_agent vs. get_drift_report). A few pairs like search/search_servers and fetch/get_server_report overlap in intent, but descriptions clarify differences in output and purpose. Agents may need to read carefully but can generally tell tools apart.

Naming Consistency4/5

Nearly all tool names follow a verb_noun snake_case pattern (list_agents, create_mandate, export_policy). The bare aliases 'fetch' and 'search' deviate slightly, but are clearly intentional, and there is no mix of camelCase or other styles. Overall consistent and predictable.

Tool Count3/5

22 tools is on the heavy side, falling into the '16-25' borderline range. While each tool appears to serve a distinct function, the set could be consolidated (e.g., the multiple 'get_*_options' tools). It is not excessive enough to be chaotic, but it is above the ideal 3-15 range.

Completeness4/5

The tool surface covers core workflows for server search, comparison, report generation, policy export, mandate creation, agent risk management, and decision-making. Minor gaps exist, such as no create/update/delete for most resources and no subscription creation, but the domain is read/decision-heavy and core lifecycle coverage is adequate.

Resources