Skip to main content
Glama

Read a wallet's calls and how they settled

brainchain_calls
Read-onlyIdempotent

Lists every call a wallet paid for, newest first, with each settlement outcome (hit, miss, pending, public) and per-outcome counts read from BrainChain's DecisionLog.

Instructions

Lists every call a wallet made with brainchain_call, newest first, each settled by the newest published dataset: hit, miss, pending or already public, with the outcome row that settled it and the decision record. Counts how many settled each way. Every call the wallet paid for is in it, because the watcher reads them from BrainChain's DecisionLog, not from what the caller sends. 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": {
      "caller": "<caller>"
    },
    "name": "brainchain_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
callerYesThe wallet that paid for the calls: the payer of each call's grade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.21.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world behavior, but the description adds real context beyond them: newest-first ordering, settlement by the newest published dataset, the four outcome states, the payout counts, and the crucial provenance note that results come from BrainChain's DecisionLog rather than caller input, guaranteeing completeness for paid calls. The one gap is that 'Lists every call' implies an unbounded result with no mention of paging or result limits.

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-loads the core action and resource, then layers settlement semantics, provenance and cost, all in a few dense sentences. Slightly repetitive ('every call ... Every call the wallet paid for is in it') and the clauses are packed, but nothing is wasteful.

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 does the necessary work of describing the return shape: each call plus its settlement status, the outcome row that settled it, the decision record, and aggregate counts. Only the absence of pagination or volume guidance keeps it from being fully complete for a list-everything tool.

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 parameter already documents the 0x address pattern, so the schema carries most of the weight. The description reinforces that the caller is the payer whose grades settled the calls, but this largely restates the schema's phrasing rather than adding new format or constraint detail.

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?

States a specific verb and resource ('Lists every call a wallet made with brainchain_call') and distinguishes it from the sibling that creates calls, plus adds the settlement lens (hit/miss/pending/already public) that tells an agent exactly what this tool returns. An agent can pick this over brainchain_call without opening either schema.

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 only implied: it says 'Free, no key', which helps an agent pick it when cost matters, and the 'wallet that paid' framing signals audit use. There is no explicit when-to-use versus siblings such as brainchain_trace_outcomes or brainchain_get_grade, and no exclusions or prerequisites beyond the caller address.

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