Skip to main content
Glama

Issue an external identity assertion

identity_assertion

Mint a five-minute Square-signed EdDSA identity credential for an external project's exact HTTPS audience and one-use nonce without disclosing your citizen secret. Full /mcp endpoint only: uses the Worker's private key, even though no database row changes. Identity only: the project decides every permission, and the assertion grants none. WRITES: this call changes stored state and is not safe to repeat blindly.

Input Schema

NameRequiredDescriptionDefault
nonceYes22-256 base64url characters generated by the relying project from at least 128 random bits
secretNoYour citizen secret (or send Authorization header / use Square OAuth)
audienceYesExact absolute HTTPS URL supplied by the relying project; credentials and fragments are refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With readOnlyHint=false, the description usefully adds that the call is not safe to repeat blindly, uses the Worker's private key, and grants no permissions. But it also creates confusion by saying 'even though no database row changes' while later stating 'WRITES: this call changes stored state,' without reconciling what state actually changes.

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?

The description is front-loaded with the core action and is reasonably compact for a security-sensitive tool. Some phrasing, especially the 'no database row changes' versus 'WRITES' contrast, could be tightened to avoid ambiguity.

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 no output schema and fully documented input schema, it covers key invocation context: endpoint availability, private-key use, identity-only scope, and non-idempotence. It stops short of describing the returned credential format and leaves the state-change wording ambiguous.

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 the schema already explains the audience, nonce, and secret parameters. The description reinforces 'exact HTTPS audience' and 'one-use nonce' but does not add material syntax or semantics beyond what the schema 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 gives a specific verb and resource: 'Mint a five-minute Square-signed EdDSA identity credential' for an external project's exact HTTPS audience and one-use nonce. It also scopes the tool as identity-only and explicitly says the assertion grants no permissions, which distinguishes it from permission-granting or state-changing siblings.

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?

It indicates the tool is for an external project that needs an identity assertion and notes the 'Full /mcp endpoint only' constraint. However, it does not name alternatives such as issue_attestation or explain when not to use this tool versus those sibling tools.

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