Skip to main content
Glama
aeoess

agent-passport-system-mcp

by aeoess

mutualAuthBuildCertificate

Build and sign a mutual-auth certificate identifying an agent or information system, returning a signed certificate ready for handshake.

Instructions

Build and sign a mutual-auth certificate identifying an agent or information system. Returns the signed MutualAuthCertificate object ready to carry into a handshake. The issuer's Ed25519 private key (hex) signs over the canonical (JCS) form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYesRole of the subject this cert identifies
bindingYesFor an agent: the APS agent_id. For an IS: the resource domain (e.g., mcp://api.bank.com)
issuer_idYesIssuer identifier
not_afterYesLatest valid time (unix ms)
not_beforeYesEarliest valid time (unix ms)
subject_idYesStable subject identifier (e.g., agent DID, IS endpoint URL)
issuer_roleYesRole of the issuer
capabilitiesNoOptional capability tags
attestation_gradeNoFor agents: APS attestation grade 0-3
issuer_pubkey_hexYesEd25519 public key (hex) of the issuer
issuer_privkey_hexYesEd25519 private key (hex) of the issuer — used to sign
subject_pubkey_hexYesEd25519 public key (hex) of the subject
supported_versionsYesProtocol versions supported, highest first (e.g., ['1.0'])
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that the issuer's Ed25519 private key signs the canonical JCS form, a non-obvious technical detail affecting the output. It also states that the tool returns a signed object, implying no side effects. Could mention security handling but is adequate.

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 sentences with no filler. The first sentence front-loads the main action, and the second efficiently describes the return value and the signature mechanism.

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?

The tool has 13 parameters and no output schema or annotations. The description clarifies the return value's purpose but does not describe the certificate structure or error conditions. The schema's field descriptions help, but the description alone leaves gaps around how parameters relate to the signed object.

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% with all 13 parameters documented, so the baseline is 3. The description adds some context by explaining the issuer private key's role in signing the JCS form, but does not meaningfully expand on the other parameters beyond the schema.

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 opens with a specific verb phrase 'Build and sign' and names the resource 'mutual-auth certificate' with the target 'agent or information system'. This clearly distinguishes it from sibling tools like mutualAuthVerifyTrustBundle and mutualAuthDeriveSession, which focus on verification and key derivation.

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 states the certificate is 'ready to carry into a handshake', giving clear context for when to use the tool. It does not explicitly name alternatives or exclusions, but the purpose of building a cert before a handshake is unambiguous.

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