Skip to main content
Glama

Verified Work

Verify delivered work (paid via x402, $0.02)

verify_work

Checks delivered work against agreed terms and returns an Ed25519-signed pass/fail outcome receipt with per-check evidence (ERC-8004 compatible). job_type 'dataset_spec/v1': artifact is an array of rows; spec may set row_schema (JSON Schema), min_rows, max_rows, unique_key, freshness {field, max_age_seconds}. job_type 'json_response/v1': artifact is a JSON body; spec may set json_schema, required_fields (JSON Pointers), value_constraints, http_status, max_size. Costs the same x402 price as POST /verify (currently $0.02 USDC on Base). Pay with a PAYMENT-SIGNATURE header on this tools/call; this server never accepts a wallet private key. Malformed input is rejected with no charge.

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_type": "<job_type>",
      "spec": "<spec>",
      "artifact": "<artifact>"
    },
    "name": "verify_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesAcceptance criteria for the job type
statusNojson_response/v1 only: HTTP status the delivered response had
subjectNoOptional ids of the worker/buyer agents (e.g. ERC-8004 agentId)
artifactYesdataset_spec/v1: array of row objects. json_response/v1: the delivered JSON body.
job_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses cost ($0.02 USDC on Base), the PAYMENT-SIGNATURE auth mechanism, that no wallet private key is accepted, and that malformed input is rejected without charge. It does not describe whether verification is deterministic or how long a receipt remains valid, and the receipt's internal field structure is only sketched.

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?

The description is front-loaded with purpose and outcome before payment mechanics, and nearly every sentence carries distinct information. The job-type clauses are dense but justified given two divergent schemas.

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?

For a 5-parameter tool with nested objects and no output schema, the definition covers the critical unknowns: cost, payment auth, error handling, and per-job-type acceptance criteria. The remaining gap is the shape of the returned receipt and the meaning of the optional 'subject' field, which an agent would need before using it correctly in a multi-agent workflow.

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 80%, so the baseline is 3, but the description adds real meaning by unpacking what spec may contain per job type (row_schema, min_rows, max_rows, unique_key, freshness / json_schema, required_fields, value_constraints, http_status, max_size) and defining what artifact means in each mode. The optional 'subject' parameter is left entirely unexplained in both description and 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?

The description opens with a specific verb and resource ('Checks delivered work against agreed terms') and states the returned artifact ('Ed25519-signed pass/fail outcome receipt with per-check evidence'). It never names or contrasts with the sibling tools check_receipt or get_price, so an agent must infer which of them applies to a given receipt-inspection scenario.

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?

It gives clear selection context by enumerating the two supported job_type values and spelling out what each expects in artifact and spec, which is exactly the information needed to pick the right mode. It stops short of stating when to use this tool rather than check_receipt, or when not to use it at all.

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.

Resources