Skip to main content
Glama

Pre-check a tender (dry run)

tender_precheck_simulate
Idempotent

Every gate the cell passes before taking a tender: anchor ACTIVE and binding Satisfied, the skill held and offered with the committed package, the policy on reward and deadlines, the acceptance authority, the hashlock commitment, the demander's SUBMIT role in the tender market when the policy requires it (ERC-8489, four-valued), the budget. Writes a decision record; sends nothing. Dry run: every check and a simulation of the first call, a decision record, nothing sent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tokenId": "<tokenId>"
    },
    "name": "tender_precheck_simulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenIdYes

Output Schema

NameRequiredDescriptionDefault
gateNo
jobIdNo
reasonNo
resultNo
eligibleYes
decisionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

With readOnlyHint=false and destructiveHint=false already declared, the description adds real value by explaining the apparent tension: it writes a decision record yet sends nothing externally, and it is idempotent by nature of being a simulation. This is exactly the kind of side-effect disclosure annotations cannot carry. It stops short of saying where the decision record is persisted or what the simulated first call's failure mode looks like.

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

Conciseness3/5

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

The gate list is dense but front-loaded and scannable. The flaw is redundancy: the closing sentence repeats the earlier 'Writes a decision record; sends nothing' almost verbatim, and nearly half the text is unexplained domain jargon (ERC-8489, hashlock, four-valued) that crowds out the guidance an agent actually needs.

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?

An output schema exists, so return values need not be described, and the write-vs-send distinction is covered. Still missing for a simulation tool of this complexity: what the decision record contains conceptually, whether it persists anywhere the agent can retrieve, and any linking of the one parameter to the tender under test.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single tokenId parameter, so the description carries the burden of explaining it — and does not. It refers vaguely to 'the tender' without ever connecting tokenId to a tender identifier or noting the numeric-string pattern requirement, leaving the agent to guess what to pass.

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 title plus the closing clause ('Dry run: every check and a simulation of the first call, a decision record, nothing sent') make clear this is a simulated pre-check that evaluates gates rather than executing an action. However, the body opens with a noun-phrase list ('Every gate the cell passes...') rather than a verb, and no sibling (e.g. tender_inspect, tender_list) is named to sharpen the boundary, so the reader must infer the differentiator from the title.

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?

'Dry run' and 'before taking a tender' imply the usage context: run this before committing to a tender. But the description never states when to call this versus tender_inspect, nor any prerequisites, ordering, or failure handling. Usage is only implied, not prescribed.

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.