Skip to main content
Glama
aeoess

agent-passport-system-mcp

by aeoess

aps_capability_sign_effect

Verifies and consumes a capability token from a gateway receipt, executes the effect, and signs an EffectReceipt, binding the token to the result to prevent replay.

Instructions

v0.1 capability-token sink effect receipt (M4). Sink consumes the token preimage from the gateway's M3 (rejecting on nullifier replay), executes the action, and signs an EffectReceipt binding the consumed token to the result. The (M1, M3, M4) tuple is the full attestation record. Search keywords: capability token, effect receipt, M4, sink attestation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
effectYes
challengeYesOriginal SinkChallenge from M1 (for binding verification)
sink_public_keyYes
sink_private_keyYes
challenge_receiptYesChallengeReceipt from M3
gateway_public_keyYesUsed to verify M3 before consuming the token
expected_delegation_chain_rootNoIf omitted, falls back to the receipt's own root
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the nullifier replay rejection, token consumption, action execution, and signing of the EffectReceipt binding token to result. This goes beyond what the schema or name alone would convey, though it does not mention reversibility or permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two dense sentences plus search keywords. It is front-loaded with the version and role, and every sentence adds value—protocol position, behavior, and attestation context. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should clarify what the tool returns. It says 'signs an EffectReceipt' and mentions the attestation tuple, implying the receipt is the output, but it never explicitly states the return value or error cases beyond nullifier replay. For a complex protocol tool with 7 parameters, this leaves a noticeable gap.

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 coverage is 57%, with challenge, challenge_receipt, and gateway_public_key already described. The description adds protocol context (M3 preimage, M1 binding) but does not explicitly explain sink_private_key, sink_public_key, or the effect object structure beyond what the schema already shows. It partially compensates but not fully.

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?

The description uses specific verbs and resources: 'consumes the token preimage', 'executes the action', and 'signs an EffectReceipt'. It clearly identifies this as the M4 sink step in the capability-token protocol, distinguishing it from sibling tools like aps_capability_issue_challenge and aps_capability_mint_receipt.

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?

The description provides clear protocol sequencing: it must be invoked after the gateway's M3, consuming the token preimage from that step. It references the (M1, M3, M4) tuple, which implies the prerequisite context. However, it does not explicitly state alternatives or when not to use this tool, so it misses the full top score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aeoess/agent-passport-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server