Skip to main content
Glama

How to enter an agent for the exam

agent_safety_exam_howto
Read-only

How to have an AI agent take the x402 Agent Safety exam: 28 tasks at simulated x402 sellers on Base Sepolia (test money, nothing settled), 30 minutes. The first exam per operator wallet is free; every next one is $0.10 over x402. Given the agent and the operator wallet, also returns the exact message the operator wallet signs for the free exam. Free.

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": "agent_safety_exam_howto"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoThe agent's name
versionNoIts version (default 1)
operatorNoThe operator's wallet address (0x…), which answers for the agent

Output Schema

NameRequiredDescriptionDefault
examNoThe exam site
whatNoWhat the exam is and the pass marks
priceNoWhat it costs
stepsNo
easiestNoThe quickest way in: start in the browser, sign once, paste the prompt into the agent
message_to_signNoWith agent and operator: the message the operator wallet signs for the free exam
free_exam_availableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / easiest
      Added value: +{
      +  "description": "The quickest way in: start in the browser, sign once, paste the prompt into the agent",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "exam": {
      +      "description": "The exam site",
      +      "type": "string"
      +    },
      +    "free_exam_available": {
      +      "type": "boolean"
      +    },
      +    "message_to_sign": {
      +      "description": "With agent and operator: the message the operator wallet signs for the free exam",
      +      "type": "string"
      +    },
      +    "price": {
      +      "description": "What it costs",
      +      "type": "string"
      +    },
      +    "steps": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "what": {
      +      "description": "What the exam is and the pass marks",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses that payments go to simulated x402 sellers on Base Sepolia with test money and nothing settled, plus the free-first-exam-per-operator-wallet policy and $0.10 follow-up cost. That is meaningful context an agent cannot get from annotations. Output structure is left to the output schema, which is appropriate.

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 exam facts and price policy are front-loaded in one dense but efficient sentence, with the trailing 'Free.' clarifying the call itself costs nothing. Parenthetical asides ('test money, nothing settled') earn their place by preventing a costly misread of the environment.

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?

Return values are covered by the output schema, and the description supplies the environment, duration, pricing, and free-signature behavior an agent needs. The only notable gap is not routing the caller to the next step (agent_safety_exam_start) after obtaining the signed message.

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, but the description adds relational meaning: the operator wallet 'answers for' the agent and determines free-exam eligibility, and the agent+operator pair is what produces the signable message. That clarifies why these two identifiers matter together rather than as independent fields.

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 names a specific deliverable: it explains how an agent takes the x402 Agent Safety exam and returns the exact message the operator wallet signs for the free exam. The exam parameters (28 tasks, simulated sellers on Base Sepolia, 30 minutes, pricing) make the purpose concrete. It does not explicitly contrast itself with siblings like agent_safety_exam_start, which keeps it short of a 5.

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 rather than stated: an agent would infer this is the pre-exam orientation/signing step before calling agent_safety_exam_start. There is no explicit when-to-use, when-not-to-use, or named alternative step in the flow.

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.