Quote a DIEM Agent Worker
quote_diem_workerReturn a free exact-price x402 USDC quote for one worker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker | Yes |
quote_diem_workerReturn a free exact-price x402 USDC quote for one worker.
| Name | Required | Description | Default |
|---|---|---|---|
| worker | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It usefully discloses that the quote is free, exact-price, and denominated in x402 USDC. However, it does not explicitly state that this is a read-only pricing step with no worker execution or payment capture.
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?
The description is a single, front-loaded sentence with no filler. Every word contributes meaning: free, exact-price, x402 USDC, and one worker.
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?
For a simple one-parameter tool with no output schema, the description adequately conveys what is returned and its key attributes. It could be more complete by clarifying that this is a pre-execution quote and not the actual worker call, but the core information is present.
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?
The schema already defines the 'worker' enum with descriptive values. The description adds 'for one worker,' confirming the per-worker scope, but it does not explain how the worker choice affects the quote or provide any additional parameter semantics beyond the schema.
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?
The description uses a specific verb ('Return') and a specific resource ('a free exact-price x402 USDC quote for one worker'). It clearly distinguishes this tool from siblings like list_diem_workers and prepare_diem_worker_call by focusing on the quoting step.
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?
There is no explicit guidance about when to use this tool versus alternatives. The description does not mention that it should precede prepare_diem_worker_call or that it does not execute the worker, leaving the workflow inference to the agent.
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.
Each tool has a clearly distinct purpose: listing workers, preparing a call, and quoting a price. There is no overlap or ambiguity between them.
All tool names follow a consistent verb_diem_worker pattern: list, prepare, and quote. The naming is uniform and predictable.
The server has three tools, which is well-scoped for its purpose of discovering, quoting, and preparing x402-paid worker calls. Each tool is essential and earns its place.
The tool set covers the full intended lifecycle: list available workers, get an exact price quote, and prepare the call for execution. Since execution is delegated to an external client, there are no significant gaps.