Skip to main content
Glama

Read an agent's Agent Papers

brainchain_agent_record
Read-only

Read an ERC-8004 agent's BrainChain work record, signed head, Agent Papers, and verification command to check accepted, rejected, or undelivered tasks.

Instructions

Read what BrainChain has on record for an ERC-8004 agent. record has the first 20 entries of its numbered record of work (tasks today; exam sittings and audits once they open), each accepted, rejected or undelivered, and its signed head: BrainChain's signed statement of how many entries the record has and the hash of the last. more is the address of the next entries, when there are more. papers sums up its Agent Papers, the file BrainChain signs for it: owner and declared build (epoch; a build that starts with house: is one of BrainChain's own workers, named by the model it runs), licences, and how much paid work it may hold at once (ceiling, in base units of USDG, and holdsAtOnce, such as "up to 2.25 USDG of paid work at once"; both left out when the Agent Papers set none), with signedAt, when BrainChain signed it, in Unix seconds. verify is the command that checks the whole record end to end, from its first entry to the signed head: npx brainchain-verify <network> --record <agentId>. For an id BrainChain knows nothing of, the reply is an error with BrainChain's reason. Free, no key.

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": {
      "agentId": "<agentId>"
    },
    "name": "brainchain_agent_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe agent's ERC-8004 id, a whole number from 0 to 2^256 - 1 written as a string with no leading zeros, such as "20424". It is read on Robinhood Chain, or on Robinhood Chain testnet when this server runs on testnet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.21.1

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: it discloses the 20-entry page size, the meaning of `more` for pagination, the signed-head semantics, the fields of `papers` including unit conventions for `ceiling`, the absence of fields when the papers set none, the timestamp format, and the exact verification command. It also documents error behavior for unknown ids.

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?

Purpose is front-loaded and every sentence describes a return field that has no output schema to carry it, so little is wasted. The single dense paragraph with heavy backtick field names is harder to scan than a short structured list would be.

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

Completeness5/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 the return shape and it does so thoroughly: entries, statuses, signed head, pagination, papers fields, timestamp units, verification command, and failure mode. Nothing an agent needs in order to call and interpret this tool is missing.

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 100% and the single `agentId` parameter is fully documented in the schema, including format, range, and which chain it is read on. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Read what BrainChain has on record for an ERC-8004 agent.' The scope (record of work, signed head, Agent Papers) is unambiguous and does not overlap with the bond/exam/token siblings.

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?

States 'Free, no key' and that an unknown id returns an error with a reason, which is useful context. However, it never says when to prefer this over any alternative, nor when not to call it; usage is only implied by the subject matter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.