Skip to main content
Glama

get_route_api

Read-only

Which paid API should I call? Give a task in plain words and get the best live x402 endpoint for it plus up to four alternatives: URL, method, price, network, seller and the exact request, each re-checked for liveness. Call it before buying from an unknown seller. A need with no match is not charged.

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

Input Schema

NameRequiredDescriptionDefault
x_paymentNoSigned x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's extra value is what it adds: each candidate is 're-checked for liveness', results include URL, method, price, network, seller and the exact request, and an unmatched need incurs no charge. That is meaningful pricing and freshness behavior an agent could not infer from annotations. It stops short of 5 because it says nothing about auth requirements, latency, or what happens with the x_payment payload on a successful match.

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?

It opens with the question the tool answers, then front-loads the return shape, the usage rule, and the pricing caveat. Every sentence carries information, though the field enumeration ('URL, method, price, network, seller') is slightly list-heavy for prose.

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-parameter tool with no output schema, the description does the work of describing the return shape and the commercial rule for no-match queries. The main omission is any explanation of when the x_payment payload is needed or how the 'task in plain words' is actually supplied, which is the one thing an agent still has to guess.

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?

The description tells the agent to 'Give a task in plain words', but the input schema contains no task parameter at all — only an optional x_payment string. The only parameter is fully documented in the schema, so the description adds no accurate meaning and instead points at an input that the schema does not expose, which could confuse an agent constructing the call.

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

Purpose4/5

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

The description names a specific verb and resource: given a task in plain words, it returns the best live x402 endpoint plus up to four alternatives. That is far more concrete than the tool name alone and an agent can tell it is a discovery/routing tool rather than a direct API caller. It does not explicitly differentiate itself from the sibling 'route' tool, which keeps it at 4.

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?

It gives a clear usage condition: 'Call it before buying from an unknown seller.' It also covers the no-match case with 'A need with no match is not charged.' There is no explicit when-not guidance or named alternative for other situations, so it falls short of a 5.

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.