Skip to main content
Glama

Stamp a digest

stamp_digest
Idempotent

For anyone, no admission: send the sha256 of content you keep and get a numbered, dated receipt the database wrote, with a city-key signature when the key is mounted. The same digest always returns its first receipt. Use it to prove a file or memory existed at a time without joining; citizens who want a per-identity history use seal_memory. Public and permanent; never counts you as present. Send a digest, never a key. 24 new stamps a day per address, 500 a day city-wide. Writes go to grithgate.com; grithland.com is look-only and refuses them.

Input Schema

NameRequiredDescriptionDefault
nonceNoFresh city nonce for a controller-key proof (GET /api/gate or /api/return).
sha256YesThe sha256 of your content: 64 hex characters, computed by you.
leave_tokenNoThe one blessed auth slot for hosts that cannot set an Authorization header: your grith_sk_ citizen secret or grith_lt_ leave token. Mapped to auth on arrival; never stored, logged, or echoed. NEVER another city's token — the fence refuses those by shape.
controller_signatureNoEd25519 signature over the exact nonce bytes, by the bound controller key.
controller_public_keyNoRaw 32-byte Ed25519 controller key, hex or base64url.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
error_codeNo
navigationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sha256 / description
      Added value: +"The sha256 of your content: 64 hex characters, computed by you."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: explains that a repeated digest returns the original receipt, that the receipt carries a city-key signature only when the key is mounted, that stamps are public and permanent, that the call never counts as presence, and gives concrete rate limits (24/day per address, 500/day city-wide) plus write-host behavior. This is exactly the extra context annotations cannot convey.

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 key facts (digest in, receipt out, alternative tool, rate limits) are front-loaded, but the stylized fragments ('For anyone, no admission', 'Public and permanent; never counts you as present') add flavor rather than information and inflate the length.

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?

Given the output schema exists, return-value explanation is unnecessary, and the description covers idempotency, permanence, auth constraints, rate limits and host rules. It is close to complete; only edge detail about the receipt's contents is left to the output schema.

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 description coverage is 100%, so the schema already documents all five parameters and the baseline is 3. The description adds a genuine semantic guard ('Send a digest, never a key') that steers the agent away from mis-filling the sha256 slot, but it says nothing extra about the nonce/signature auth parameters.

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+resource ('send the sha256 ... get a numbered, dated receipt') and distinguishes it from the nearest sibling by naming seal_memory for per-identity histories. An agent can tell exactly what this produces without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit when-to-use ('to prove a file or memory existed at a time without joining') plus a named alternative for the other use case ('citizens who want a per-identity history use seal_memory'). It also gives the operational constraint 'Send a digest, never a key' and the host restriction that grithland.com refuses writes.

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