Skip to main content
Glama

recommend

Read-onlyIdempotent

Chooses a model for a task profile (fast, cheap, capable) using recorded scores and live model checks so you can route to one model now.

Instructions

Return the best model(s) for a task profile: 'fast' (lowest latency among models with >=90% success), 'cheap' (zero-priced when the endpoint advertises pricing, else a reliability fallback), or 'capable' (highest score). Read-only: scores from recorded history plus a live read-only /models GET; omit profile to use the default. Use when you need ONE model to route to right now.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "recommend"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNofast | cheap | capable (optional, default = capable)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • changedInput schema / properties / profile / description
      Previous value: -"fast | cheap | capable"New value: +"fast | cheap | capable (optional, default = capable)"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, yet the description adds real context: results come from recorded history plus a live read-only /models GET, and the 'cheap' profile degrades to a reliability fallback when pricing is not advertised. That disclosure of an outbound dependency and fallback path is exactly the kind of behavior annotations cannot express; only the response shape and any latency/caching implications are left out.

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 outcome first, then the profile semantics, then the when-to-use cue. It is a dense, somewhat run-on single block with parenthetical asides ('zero-priced when the endpoint advertises pricing, else a reliability fallback'), but no sentence is 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?

For a single optional parameter with no output schema, the description covers selection behavior, data sources, and the default. The only soft spot is that 'model(s)' leaves the return shape slightly ambiguous, though the no-output-schema convention lowers the burden.

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

Parameters4/5

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

Schema coverage is 100% and already lists the three accepted values and the 'capable' default, so validity itself needs no help. The description nonetheless adds meaning the schema lacks by defining the selection algorithm behind each profile, which is what lets an agent choose a value deliberately rather than guess.

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 the best model(s) for a task profile') and immediately decomposes the three profiles into concrete selection rules (lowest latency with >=90% success, zero-priced with fallback, highest score). The closing 'Use when you need ONE model to route to right now' implicitly separates it from a listing/ranking sibling, so an agent can pick it without opening the schema.

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 clear triggering condition ('when you need ONE model to route to right now') and states the default behavior when the profile is omitted. It does not explicitly name when NOT to use it or point at a named alternative such as list_models, so the routing signal is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools