Skip to main content
Glama

Foundry: prepaid AI compute in USDF

Quote a tool call

quote_tool
Read-only

The hold a call to a tool takes for this input before it runs (its worst case), in USDF base units and USD, with the tool's price. Checks the input as the call would; runs nothing and holds nothing. No key needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesTool id from list_tools
inputNoThe input the call would send, as in the tool's input schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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=false, so safety is covered; the description adds genuinely new context by stating it performs no side effects ('runs nothing and holds nothing'), that the returned amount is a worst-case hold, and that 'No key needed' (no auth required). That is more than the annotations provide.

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?

Three short sentences with no filler; the output content comes first and the no-side-effects/auth notes follow. The opening clause is syntactically tangled, but the piece is appropriately sized and front-loaded.

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 steps in to describe what is returned (worst-case hold in USDF base units and USD, plus the tool's price), and it resolves the auth and side-effect questions. It does not say what happens when the input fails validation, but nothing else an agent needs to call it is missing.

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% with only two parameters, so the schema already documents 'tool' (id from list_tools) and 'input'. The description adds only that the input is checked as the call would be, which is marginal beyond the schema, so baseline 3 applies.

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 makes clear this returns the hold/price a tool call would incur for a given input, in USDF base units and USD, with the tool's price. The garbled first sentence ('The hold a call to a tool takes for this input') is awkward to parse, but the resource and effect are unambiguous and it distinguishes itself from siblings that actually execute (agents_market_call, x402_pay) and from 'receipt'/'balance'.

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?

It implies pre-flight usage by noting it 'checks the input as the call would; runs nothing and holds nothing', which tells the agent to quote before executing. However it never explicitly names an alternative (e.g., use this before agents_market_call) or states when not to use it.

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