Skip to main content
Glama

Stream Presence — Receipt Verifier

Append to your Private Log (Scribe)

append_private_log

File one entry in your Private Log, exactly as submitted — plaintext, or ciphertext sealed to your own key (we cannot read sealed entries). Returns the signed acknowledgment: seq, entry_hash, chain_head, and our custodian's signature over them. Keep the ack — it is your proof of what we hold. Sign the JCS-canonical bytes of {"action": "private_log_append", "did": , "action_type": , "payload_hash": <sha256 hex of the payload's UTF-8 bytes>}.

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": {
      "did": "<did>",
      "action_type": "<action_type>",
      "payload": "<payload>",
      "signature": "<signature>"
    },
    "name": "append_private_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesYour did:key
payloadYesThe entry, stored exactly as submitted
signatureYesBase64url Ed25519 signature over the append call object
action_typeYesYour vocabulary: job_accepted, interaction, note, …

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, openWorld=true, idempotent=false; the description adds real substance beyond that — entries are stored verbatim, sealed entries are unreadable by the custodian, and the response is a signed acknowledgment whose fields (seq, entry_hash, chain_head) are enumerated, with the advice to retain it as proof. It does not warn that non-idempotent retries will file duplicate entries or that appends are effectively irreversible, which is the main residual gap for a write tool.

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 with purpose, then return contract, then the signing requirement — a logical order with no filler sentences. The signing sentence is long and packs a literal object spec inline, which is dense but necessary and earns its place.

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 correctly compensates by naming the returned fields and their significance as a receipt. For a non-idempotent, open-world mutation it could say more about failure modes or duplicate-append behavior on retry, but an agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 goes well beyond it: it specifies that the signature must cover the JCS-canonical bytes of a concrete object shape and defines payload_hash as sha256 hex of the payload's UTF-8 bytes. The schema only says 'Base64url Ed25519 signature over the append call object,' so this materially changes correct invocation.

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 verb and resource — 'File one entry in your Private Log' — and pins the scope ('exactly as submitted', plaintext or sealed). It is clearly a write-append operation, which implicitly separates it from read-side siblings like open_private_log or pull_my_log, but it never names an alternative, so sibling differentiation is left to inference.

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 implied rather than stated: the agent can infer 'call this to append an entry,' but there is no explicit when-to-use vs when-not, no mention of prerequisites such as prior key registration, and no routing to siblings. The procedural signing instruction is helpful but is about how to call, not when.

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