Skip to main content
Glama

agreement_proof

Read-only

0.88.0: your own line of an agreement you are in (who, the SHA-256 agreed, when) as a leaf, with its Merkle proof against the day's root that hashn wrote to the chain. Works with or without the workspace. Agreements are anchored once a day; until then the answer has the leaf and anchored: false. Keep the answer with your copy of the agreed file: together they show that hashn recorded your agreeing to those bytes, at that time, no later than that day's root, and can't have changed it since. leaf_text is the exact text that is hashed.

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": {
      "agreement_id": "<agreement_id>"
    },
    "name": "agreement_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
agreement_idYesThe agreement's id (a UUID), from list_agreements or the `entry` of an agree answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, yet the description adds real behavioral context: anchoring happens once a day, the response carries 'anchored: false' until the root is written, and leaf_text is the exact hashed text. It stops short of describing the proof's structure or any error cases, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and mostly front-loaded, but the '0.88.0:' version prefix is pure noise and the first sentence is a long clause chain. A trailing sentence about leaf_text is useful, yet the paragraph could be tightened without losing information.

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?

There is no output schema, so the description must carry the return semantics, and it names the leaf, the Merkle proof, the anchored flag and leaf_text, plus the verification rationale. The exact shape of the proof object is still undefined, which is the remaining gap.

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 description coverage is 100%, so agreement_id ('a UUID, from list_agreements or the entry of an agree answer') and api_token are already documented. The description adds no meaning about these parameters, so the baseline 3 applies.

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 states a specific resource and output: 'your own line of an agreement you are in (who, the SHA-256 agreed, when) as a leaf, with its Merkle proof against the day's root'. That is far more specific than a restatement of the name, though it never distinguishes itself from siblings like read_agreement or list_agreements, leaving the agent to infer the boundary.

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?

It gives guidance on what to do with the result ('Keep the answer with your copy of the agreed file') and notes 'Works with or without the workspace', but never says when to pick this over read_agreement or list_agreements. Usage is implied by the proof/verification framing rather than stated.

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