Skip to main content
Glama

Pick a provider

decide
Read-onlyIdempotent

First pick, no key, before writing integration code (LLM, sandbox, search, email, DB). First call: {task:'run untrusted Python in a sandbox', roleId:'acme-support-agent'} (or X-Agent-Id; pick comes back either way, only labelled calls are counted; use a role, never a person's name). Returns the Depot Pick, runner-up, sourced price, when to skip it, reportOutcome, recheck. Recheck: since=recheck.since. Live API error: rescue. Stack changes since last cursor: session_brief. For quotes, compare, audit, freshness or to report an outcome: depot.

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

Input Schema

NameRequiredDescriptionDefault
fullNo
jtbdNo
taskNoWhat you need, in words
sinceNoLast recheck.since
roleIdNoe.g. acme-support-agent
existingNo
maxMonthlyNo
constraintsNoe.g. eu-region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / roleId
      Added value: +{
      +  "description": "e.g. acme-support-agent",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / constraints / description
      Previous value: -"Comma list, e.g. eu-region; may switch the pick"New value: +"e.g. eu-region"
    • removedInput schema / properties / existing / description
      Removed value: -"Provider ids you already use"
    • removedInput schema / properties / jtbd / description
      Removed value: -"Or a job id, e.g. agent-sandbox"
    • removedInput schema / properties / maxMonthly / description
      Removed value: -"USD budget for autoActOk"
  3. Changed3 schema fields changed
    • changedInput schema / properties / existing / description
      Previous value: -"Comma list of provider ids you already use"New value: +"Provider ids you already use"
    • changedInput schema / properties / jtbd / description
      Previous value: -"Or a job id, e.g. agent-sandbox; wins over task"New value: +"Or a job id, e.g. agent-sandbox"
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "Last recheck.since",
      +  "type": "string"
      +}
  4. 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 this a read-only, idempotent, closed-world, non-destructive call, so the bar is lower, and the description adds genuinely new behavior: no API key is needed, unlabelled calls are not counted, and identity may come from roleId or the X-Agent-Id header. It does not explain what 'only labelled calls are counted' implies operationally, and several returned items (reportOutcome, recheck) are named but not explained.

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 purpose and a concrete first call, and every sentence maps to an action or a routing decision, so there is little waste. The telegraphic, fragment-heavy style ('Live API error: rescue.') is efficient but occasionally cryptic and costs a little legibility.

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

Completeness3/5

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

Eight optional parameters with no output schema means the description carries unusual weight, and it does summarize the return payload (Depot Pick, runner-up, sourced price, when to skip, recheck) which is otherwise undocumented. Still, five parameters go entirely unexplained and terms like 'Depot Pick' and 'reportOutcome' are used without definition, leaving real gaps for a fairly wide-surface tool.

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 50%, so the description must compensate, and it does for the most consequential parameters: task is illustrated with a worked example, roleId is constrained to role identifiers rather than person names, and since is tied to recheck.since. The remaining parameters (full, jtbd, existing, maxMonthly, constraints) receive no mention in either place.

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 action and resource (pick a provider for LLM/sandbox/search/email/DB) plus the triggering condition (before writing integration code) and the key selling point (no key required). It also names the three sibling tools and the situations each covers, so an agent can tell decide apart from depot, rescue and session_brief without opening a 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?

Explicitly routes work to alternatives: live API errors go to rescue, stack changes since the last cursor go to session_brief, and quotes/compare/audit/freshness/outcome reporting go to depot. It also states the ordering constraint ('first pick ... before writing integration code'), which is real when-to-use guidance rather than a generic preamble.

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