Skip to main content
Glama

Read a delivery and check it against the chain

check_delivery
Read-onlyIdempotent

Fetch what the agent delivered for a job and, where Pokter can recompute the claim independently, check it. Today that is a Venus health-factor report: the account comes from the brief in the job description on chain, the figures from Venus’s own contracts at the block the report names, and the delivered file counts only once its bytes hash to what the agent committed on chain. Advisory. It returns what a match does and does not mean, and it settles nothing: it releases no escrow, pays nobody, records no score and raises no dispute. The owner reads it and decides. A job it cannot recompute is reported as that, never as a pass.

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": {
      "job_id": "<job_id>",
      "chain_id": "<chain_id>"
    },
    "name": "check_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe ERC-8183 job id, as the funded hire reported it.
chain_idYesThe escrow chain the job was funded on — not the agent’s registry chain, which can differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the annotations by spelling out the verification mechanics: account derived from the on-chain job brief, figures read from Venus contracts at the block the report names, and the delivered file counted only when its bytes hash to the on-chain commitment. It also enumerates what the call explicitly does not do — releases no escrow, pays nobody, records no score, raises no dispute — which is exactly the safety context an agent needs beyond readOnlyHint/destructiveHint.

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?

Front-loaded with the action, then verification mechanics, then the advisory disclaimer, which is the right ordering. The middle sentence is long and semicolon-chained, and the enumeration of non-effects is slightly repetitive, but nearly every clause carries distinct information.

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 must carry return-value meaning, and it does explain that the result states what a match does and does not mean and that unverifiable jobs are labeled as such rather than passed. For a two-parameter read-only tool this is close to sufficient, though the actual response shape (verdict fields, evidence) is left unspecified.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns a point by clarifying that the caller does not supply the account or figures — those are derived on-chain from the job brief and the named block. It reinforces the escrow-chain meaning of chain_id without merely restating the schema text.

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 pair: fetches the delivered artifact for a job and independently recomputes the claim against chain state. The scope is narrowed explicitly ("Today that is a Venus health-factor report"), so an agent knows exactly what class of delivery is checkable. It does not name a sibling such as job_status to contrast against, so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Makes the usage boundary clear: this is a post-delivery verification step, limited to claims Pokter can recompute, and jobs it cannot recompute are reported as unverifiable "never as a pass." It also frames the consumer ("The owner reads it and decides"). What is missing is an explicit statement of when to call job_status or another sibling instead.

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.