Skip to main content
Glama

Neurometric Task Router

Recommend a model for a task

recommend_model
Read-onlyIdempotent

Recommend the cheapest model that meets a quality bar on a benchmarked task, with every measured model's pass rate and cost. Get task ids from search_tasks.

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": {
      "task_id": "<task_id>"
    },
    "name": "recommend_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesTask id from search_tasks.
min_pass_rateNoLowest acceptable pass rate, 0 to 1. Default: 5 points under the best measured model.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, closed-world operation, so the safety profile is covered. The description adds useful behavior beyond that: it returns pass rate and cost for every measured model and picks the cheapest qualifying one, which tells the agent what output to expect.

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?

Two tight sentences with the core behavior front-loaded and the prerequisite in the trailing sentence. No filler, though the return-content clause makes the first sentence slightly dense.

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 a two-parameter read-only tool with no output schema, the description covers what it does, the required prerequisite, and the shape of the result. Minor gaps (no mention of units or what 'benchmarked task' covers) are not blocking.

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 both task_id and min_pass_rate (including its default of 5 points under the best model) are already documented in the schema. The description only restates the task-id source, adding no new semantics beyond structured fields, so the baseline of 3 applies.

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 ('Recommend'), the resource ('model'), and the selection criterion ('cheapest ... that meets a quality bar on a benchmarked task'), plus what the response contains. This clearly separates it from a plain listing tool like list_models.

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?

Explicitly routes the agent to search_tasks to obtain a task id, which is the key prerequisite. It does not describe when to skip this tool (e.g. choosing a model without a benchmarked task) or how it relates to get_pricing, so it falls short of full when/when-not guidance.

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.