Skip to main content
Glama

Beggar Bot

cow_order_build

Build a gasless CoW Protocol swap order: live quote, slippage-adjusted EIP-712 order, digest, order UID, VaultRelayer approval and submit body Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cow_order_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
kindNokind
chainNochain
amountNoamount
receiverNoreceiver
buy_tokenNobuy_token
sell_tokenNosell_token
valid_secsNovalid_secs
slippage_bpsNoslippage_bps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses that the order is gasless, that a VaultRelayer approval is required as part of the build, that a live quote is fetched (so output is time-sensitive), and that invocation is paid at $0.02 USDC via x402. It stops short of saying whether anything is broadcast on-chain or how quote expiry/chain mismatches are handled.

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?

One front-loaded sentence that leads with the verb+resource and then lists outputs and the payment term. It is dense but every clause carries information; the run-on list of artifacts is the only mild readability cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, zero-annotation, no-output-schema tool, the description usefully names the return artifacts and the payment prerequisite. However, it leaves the semantics of the nine parameters, their defaults (none required), and supported chains entirely undocumented, which is a material gap for an agent constructing the call.

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 coverage is nominally 100%, but the schema descriptions are bare name echoes ('from':'from'), so they add no meaning. The description contributes only indirectly — 'slippage-adjusted' maps to slippage_bps — and says nothing about from, kind, chain, receiver, buy_token/sell_token, or valid_secs. Baseline 3 applies, but the description does not compensate for the hollow schema.

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?

States a specific verb and resource — 'Build a gasless CoW Protocol swap order' — and enumerates the concrete artifacts produced (live quote, EIP-712 order, digest, order UID, VaultRelayer approval, submit body). That distinguishes it from siblings like cow_order_cancel_build and cow_presign_build by scope, though no sibling is named explicitly.

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 by the enumerated workflow: this builds the order and approval payload that a caller then submits, and it costs $0.02 USDC via x402. There is no explicit when-to-use/when-not guidance and no stated alternative for the presign or cancel paths, so the agent must infer routing from the sibling names.

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.