Skip to main content
Glama

Mad Check

mad_witness_head

Read the head of MAD's signed, hash-chained witness ledger (latest seq + head hash + signer). Entries are readable individually at GET /v1/witness/{seq} on the API.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior beyond the name: the ledger is signed and hash-chained (append-only, tamper-evident), and the head is a fixed three-field summary. It stops short of stating authentication requirements, whether the read is cached, error behavior for an empty or uninitialized ledger, or that the operation is side-effect free — all material for a mutation-free but trust-critical read.

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?

Two sentences, front-loaded with the purpose and return contents before the alternative route. The second sentence earns its place by steering the agent to the HTTP endpoint for per-entry reads. Slightly more compact phrasing of the return-field list is the only trimming available.

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?

This is a low-complexity, zero-parameter read with no output schema, so the description must supply the return shape — and it does, listing latest seq, head hash, and signer. Absent annotations, it could say more about auth and failure modes, but nothing an agent needs in order to invoke the tool correctly appears to be missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; 4 is the baseline for a no-argument tool. The mention of the {seq} path variable correctly frames that as belonging to the separate per-entry endpoint rather than this call, avoiding confusion.

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?

It states a specific verb and resource — 'Read the head of MAD's signed, hash-chained witness ledger' — and then names exactly what the head contains (latest seq, head hash, signer). That level of specificity distinguishes it cleanly from the check_* and seal_lookup siblings without requiring the agent to open any 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?

The description implies its use case (get the current ledger head / trust anchor) and points out that individual entries are reachable at GET /v1/witness/{seq}, which is a useful routing hint away from this tool. However, it never states when an agent should call this tool versus mad_seal_lookup or mad_check_* siblings, and it offers no exclusions or preconditions.

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