Skip to main content
Glama

Best service for task

best_service_for_task
Read-onlyIdempotent

Use when a router agent picks which paid x402 service to send a task to: send the task in plain words, get the top listing from P0's snapshot of listed x402 services plus up to 4 alternatives. Returns the paid x402 request for your input (GET /route, $0.01 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Paid pick of one service for one task; for free browsing and comparing use search_x402_services. First call each day returns the data itself, free; later calls return the paid request.

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": "<task>"
    },
    "name": "best_service_for_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesthe task in plain words, e.g. 'screen a wallet address for sanctions' (2-200 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare the tool is read-only, idempotent, and non-destructive, but the description adds real behavioral context the annotations can't carry: pricing ($0.01 per call), a free first call each day, refusal of bad input before any charge, and, critically, that the result is a paid x402 request URL that must be called with an x402 or MPP client to actually get data. This two-step payment protocol is the kind of hidden behavior an agent would otherwise get wrong.

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 is a single dense paragraph, front-loaded with the use case and outcome before the pricing and protocol details. Nearly every clause carries a distinct fact, though the run-on packing of cost, free-call behavior, and the redirect-to-sibling note makes it harder to scan than a short structured list would be.

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?

With no output schema, the description takes on the burden of explaining the return value, and it does: top listing plus up to 4 alternatives, delivered as a paid request rather than the data itself. The only soft spot is that "schema linked" refers to a link not present in the supplied text, and the shape of a "listing" is not itemized.

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?

There is a single parameter with 100% schema coverage, including length bounds and an inline example, so the schema does the heavy lifting. The description only restates the input as "the task in plain words," adding no format or constraint detail beyond what the schema already provides. This is the expected baseline when coverage is complete.

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?

The description states a specific verb and resource: it takes a plain-language task and returns the top listing from P0's snapshot of listed x402 services plus up to 4 alternatives. It explicitly contrasts itself with search_x402_services ("Paid pick of one service for one task; for free browsing and comparing use search_x402_services"), so an agent can distinguish the two 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?

It names the triggering situation ("Use when a router agent picks which paid x402 service to send a task to") and explicitly routes the alternative use case to search_x402_services. The when-to-use and when-not-to-use conditions are both spelled out, not inferred.

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