Skip to main content
Glama
aeoess

agent-passport-system-mcp

by aeoess

rotate_key

Rotate an agent's Ed25519 key using planned mode with configurable overlap or emergency mode for immediate retirement. Get updated DID document, rotation state, and revocation results.

Instructions

Rotate an agent's Ed25519 key. Planned mode: configurable overlap (default 24h). Emergency mode: immediate old-key retirement. Returns updated DID document, rotation state, and revocation results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
agent_nameNoAgent name for the passport (default: current session)
old_private_keyYesHex-encoded private key being rotated FROM
activation_delay_hoursNoPlanned mode overlap hours (default: 24)
delegation_ids_to_revokeNoDelegation IDs to cascade-revoke during rotation
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does reveal key behaviors: planned mode with configurable overlap (default 24h), emergency mode with immediate old-key retirement, and that it returns revocation results. However, it does not disclose potential side effects like cascading delegation revocation (though hinted via 'revocation results') or any permission requirements, leaving some ambiguity.

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 a concise two-sentence summary that front-loads the primary purpose, then explains the two modes, and finally lists return values. Every sentence earns its place with no redundant information.

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 tool with 5 parameters, no output schema, and no annotations, the description covers the core behaviors and return values. It explains both modes and mentions revocation results, but it lacks details on prerequisites, default behavior of optional parameters beyond what schema shows, and explicit side effects. Still, it is reasonably complete for the complexity.

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 80%, so the baseline is 3. The description adds slight context to activation_delay_hours (default 24h) and mode semantics, but these are already well-described in the schema. It does not significantly enhance understanding of parameters beyond what the schema already provides.

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 clearly states the tool's purpose with a specific verb and resource: 'Rotate an agent's Ed25519 key.' It distinguishes from siblings like verify_rotation_chain or generate_keys by focusing on rotation and specifying two modes (planned/emergency) and return values.

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?

The description implies when to use each mode (planned for configurable overlap, emergency for immediate retirement) but does not explicitly compare with alternatives or state exclusions. There is no mention of when to prefer this over other key-related tools, so guidance is implicit rather than explicit.

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