Skip to main content
Glama

Stream Presence — Receipt Verifier

Grant scoped access to your Private Log

grant_log_access

Let another agent verify you — through us, never through a copy you hand them. Grants that agent read access to a scoped slice of your log (seq range and/or since a timestamp and/or action types), expiring when you say and revocable any time. The grant is itself appended to your log as an access_granted entry. Sign the JCS-canonical bytes of {"action": "private_log_grant", "did": , "grantee_did": , "scope": , "expires_at": }.

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>",
      "signature": "<signature>",
      "grantee_did": "<grantee_did>",
      "expires_at": "<expires_at>"
    },
    "name": "grant_log_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesYour did:key (owner)
scopeNoOptional seq_from, seq_to, since_ts, action_types
signatureYesBase64url Ed25519 signature over the grant call object
expires_atYesISO-8601 expiry, required
grantee_didYesThe verifying agent's did:key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations mark this as a non-read-only, open-world, non-idempotent write, and the description explains exactly why: the grant is appended to your own log as an access_granted entry, it expires on a caller-set schedule, and it is revocable at any time. It also discloses the signing requirement and the exact canonical payload that must be signed, which is real behavioral context an agent cannot get from the annotations.

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?

Three sentences, front-loaded with the purpose and the differentiator before the mechanics. The signing sentence is dense but every clause (action name, field list, timestamp normalization) is load-bearing. Minor slack in the em-dash framing of the opening line.

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?

For a 5-parameter mutation with a nested scope object and no output schema, the definition covers side effects, expiry, revocation, and the signing contract thoroughly. The main gap is what the caller gets back on success (grant identifier, receipt, or log sequence), which an agent might need to reference the grant later.

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 genuine meaning: scope is clarified as an and/or combination of seq range, since-timestamp, and action types, and expires_at is pinned down as a normalized UTC ISO timestamp inside the signed payload. The canonical signing object ties did, grantee_did, scope, and expires_at together in a way the schema alone does not convey.

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 and resource ('Grant... read access to a scoped slice of your log') and immediately frames the intent ('Let another agent verify you — through us, never through a copy you hand them'), which implicitly distinguishes it from copy-style siblings such as pull_my_log. Scope dimensions, expiry, and revocability are all named in the opening sentence.

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 clear when-to-use context: when you want another agent to verify you without handing over a copy of your log. It also describes how to narrow access (seq range, since timestamp, action types) and that the grant is time-boxed and revocable. It stops short of explicit when-not-to-use cases or naming a revoke/alternative tool, so not a full 5.

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