Skip to main content
Glama

llm_cost_router

Paid $0.01. Rank 12 official LLM APIs, compute 80/20 hybrid routing savings, and match 5 official free-credit/off-peak programs.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
sampleNotrue = free sample output on built-in input (no payment)
providerNo
use_batchNo
capabilityNo
cache_hit_pctNo
input_tokens_mNo
compression_pctNo
output_tokens_mNo
include_free_creditsNo
include_market_benchmarkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a $0.01 cost, which is genuinely useful and beyond schema data, but it says nothing about payment mechanics, idempotency, side effects, failure behavior, or output shape. For a paid tool with 11 parameters, that is a thin disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and does not waste many words, but its structure is poor: it opens with a bare price fragment, then crams three separate capabilities into one clause. The most important information (what the tool returns or how payment works) is absent rather than the text being bloated.

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?

For an 11-parameter, zero-required, no-annotation, no-output-schema tool, the description is too sparse. It gives a headline of the analysis performed, but leaves the agent unable to fill most parameters or anticipate output, so it is only partly adequate for the tool's complexity.

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 only 9% (only 'sample' is documented), so the description must compensate, and it largely does not. Phrases like 'hybrid routing savings' and 'free-credit/off-peak programs' loosely gesture at use_batch, cache_hit_pct, and include_free_credits, but limit, provider, capability, token budgets, compression_pct, and include_market_benchmark are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names concrete outputs (rank 12 official LLM APIs, compute 80/20 hybrid routing savings, match 5 free-credit/off-peak programs), so the domain is identifiable. But it bundles three distinct functions without stating which is primary or what the tool returns, and the opening fragment 'Paid $0.01.' muddies the purpose statement. No sibling differentiation is offered.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no when-not-to-use condition, and no alternative tool named. 'Paid $0.01' implies a payment prerequisite but never explains how payment is authorized, when it is charged, or how the free sample path relates to the paid path. An agent cannot decide between calling this and another cost tool from the text.

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.