Skip to main content
Glama

FMF Tools Utilities

attest_session

Attest an agent session (signed timestamped receipt) ($0.002 per call, paid via MPP on Tempo). Post a session log, transcript, list of turns, per-turn hashes or just a SHA-256; get an Ed25519-signed receipt with the content SHA-256, an RFC 6962 Merkle root over the turns (optional per-turn inclusion proofs), a drand quicknet round and a Tempo mainnet block (time lower bound). Nothing is stored. Hash-only modes keep content private. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/attest/session. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
labelNooptional label/session id, max 200 chars, included in the signed receipt
turnsNosession turns (strings or objects; objects hashed as canonical JSON)
proofsNoreturn per-turn inclusion proofs (max 1000 turns)
sha256Noprivate mode: hex SHA-256 of your content
transcriptNoraw transcript/log text (Merkle leaves = non-empty lines)
leaf_hashesNoprivate mode: your own RFC 6962 leaf hashes, hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so well: it discloses cost ($0.002 per call), the payment rail (MPP on Tempo), that nothing is persisted, that hash-only modes keep content private, and that the wrapper itself does not settle payment. It also explains the time-lower-bound semantics of the Tempo block, which is non-obvious behavior.

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-loaded: the verb and the deliverable come first, then the modes, then cost and transport. The run of parenthetical clauses makes it dense, and the endpoint URL plus payment note is repeated in spirit, but almost every sentence carries information an agent needs.

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?

Rich enough for a six-parameter, no-output-schema tool: it enumerates the receipt contents so the agent knows what comes back, covers cost and payment, states the no-storage and privacy properties, and gives the underlying HTTP route. Error behavior and partial-failure modes are the only omissions, and those are marginal here.

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 real meaning the schema does not: it frames sha256/leaf_hashes as 'private mode' alternatives versus turns/transcript as content-bearing modes, which is essential for choosing among six all-optional parameters. It does not spell out the interplay rules (e.g., what happens if turns and sha256 are both supplied), so it is not a 5.

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?

States a specific verb and resource — 'Attest an agent session' — and immediately defines the artifact produced (an Ed25519-signed receipt with content SHA-256, RFC 6962 Merkle root, drand round, Tempo block). It does not explicitly name the sibling attest_verify as the counterpart for verification, so sibling differentiation is left to inference, which caps this below 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete input-mode guidance ('Post a session log, transcript, list of turns, per-turn hashes or just a SHA-256') and states the payment prerequisite explicitly, including the fallback of using mppx against the HTTP route. It stops short of an explicit when-not-to-use or pointing to attest_verify as the follow-up step.

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