Skip to main content
Glama

grant_access

Grant a specific identity the ability to decrypt escrowed content. Only available for proofs created with content escrow opted in (not yet available — stamps are hash-only today). Returns a capability token the grantee uses with reveal.

Input Schema

NameRequiredDescriptionDefault
proofIdYesThe proof to grant access to
granteeIdYesIdentity (did:web: or key fingerprint) to grant

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only cover openWorldHint and destructiveHint, so the description carries real weight here: it discloses the escrow prerequisite, the current unavailability, and that a capability token is produced for later use with reveal. That is substantive context beyond the annotations, though it says nothing about permissions, idempotency, or whether grants can be revoked.

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 short sentences, front-loaded with purpose followed by the precondition and the return value. The parenthetical about hash-only stamps is slightly awkward but earns its place as a critical caveat.

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 usefully explains the return value (a capability token consumed by reveal) and the prerequisite. For a two-parameter tool it is nearly complete; only the revocation/expiry behavior of the granted capability is unaddressed.

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 both parameters (proofId, granteeId) are already documented in the schema. The description adds no format, validation, or sourcing detail beyond that, so the baseline 3 applies.

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 (grant), a specific resource (decrypt access to escrowed content), and a precise scope (a specific identity). It also names the value returned, which separates it cleanly from siblings like reveal and revoke_proof.

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 an explicit precondition — only proofs created with content escrow opted in — and warns the capability is not yet live ('stamps are hash-only today'), which is exactly the when-not guidance an agent needs. It stops short of naming an alternative for the hash-only case.

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