Skip to main content
Glama

OmniProvider

OmniProvider price quote

omniprovider_get_quote
Read-onlyIdempotent

Sends one unpaid request to a paid route and returns the 402 payment requirements (amount, currency, network, payee, protocol). No payment is made and no credential is sent; the response is the quote for that exact request body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON request body the quote is computed for (messages or prompt; for /v1/chat/completions also model and max_tokens).
routeYesPaid route path. /v1/* accepts MPP, /x402/* accepts x402.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is partly covered. The description adds genuinely new behavioral context: it performs a real network call to the paid route, returns a 402 challenge, makes no payment, and transmits no credential. Missing are rate-limit behavior and whether the route must be reachable/valid.

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

Conciseness5/5

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

Two tightly packed sentences, front-loaded with what the tool does and its return payload, then the safety guarantee and scoping constraint. No filler, no repetition of the title or schema.

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 correctly compensates by enumerating the returned 402 fields (amount, currency, network, payee, protocol). Combined with the 100%-covered schema and read-only annotations, an agent has nearly everything needed; only edge behavior (invalid route, rate limits, whether any auth is ever required) is unaddressed.

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?

Schema description coverage is 100% for both parameters (route enum with MPP vs x402 note, body contents), so the schema carries the load. The description only reinforces that the body determines the quote ('that exact request body') without adding format or constraint detail beyond the schema, which matches the baseline 3.

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 gives a specific verb and resource ('sends one unpaid request to a paid route and returns the 402 payment requirements') and even enumerates the returned fields, so an agent knows exactly what it produces. It does not name or contrast itself with siblings like omniprovider_get_pricing, though the 'quote for that exact request body' phrasing implicitly separates it from a static price list.

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

Usage Guidelines3/5

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

Usage is implied: this is the pre-flight step to discover payment terms before paying. The description clarifies that no payment or credential is sent, which signals it is safe to call speculatively, but it never states when to prefer this over omniprovider_get_pricing or omniprovider_how_to_pay, and gives no exclusions.

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