chat_completion
Get one bounded chat completion (standard messages request shape) per paid call, with no account to open and no provider key to hold. $0.01/call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| max_tokens | No |
Get one bounded chat completion (standard messages request shape) per paid call, with no account to open and no provider key to hold. $0.01/call via x402.
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| max_tokens | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses payment model, bounded nature, and no-setup requirement, which is useful. However, it does not disclose the output shape, error behavior, or rate limits, and relies on the term 'standard' to convey messages structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences totaling about 25 words; the core action is front-loaded and every clause adds useful context (bounded, paid, no account, price). No fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations or output schema, the description should cover what the tool returns and any constraints beyond the schema. It covers cost and access model but omits response format, model identity, and max_tokens limit (600) from the schema, leaving an agent to rely on prior knowledge of chat completions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. 'Standard messages request shape' adds meaning to the messages parameter, and 'bounded' hints at max_tokens, but max_tokens is never explained or tied to its 600 maximum. Partial compensation only.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description states a specific verb ('Get') and resource ('one bounded chat completion') and clarifies the request shape ('standard messages request shape'). It does not explicitly differentiate from sibling tools like 'inference' or 'x402_endpoint_verify', though the no-account/pay-per-call positioning gestures at a unique niche.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides context (paid call, no account/provider key, $0.01/call via x402) that implies when to use it, but it never explicitly states when to choose this tool over alternatives or when not to use it. No exclusions or sibling naming are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.