Skip to main content
Glama

ack_create_jwt

Create a signed JWT with arbitrary payload by providing a private JWK and signer DID. Enables challenge-response authentication, signed agent messages, or any custom signed payload.

Instructions

Create a signed JWT with an arbitrary payload. Use for challenge-response authentication, signed messages between agents, or any custom signed payload. The JWT is signed with the provided JWK and includes the signer's DID as the issuer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesJSON string of the JWT payload (claims). Standard claims like sub, aud, exp, nbf are supported.
signerDidYesDID of the signer, set as the JWT issuer (iss claim)
signerJwkYesJWK JSON string containing the signer's private key (from ack_generate_keypair or any valid private key JWK)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It meaningfully discloses that the JWT is signed with the provided JWK and that the signer's DID becomes the issuer, which is beyond what the schema states. It does not cover return type or edge cases, but the core signing behavior is transparent.

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 concise sentences that front-load the core purpose, follow with explicit use cases, and add a key behavioral detail. There is no redundant or filler content.

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 three-parameter tool with fully documented inputs, the description covers purpose, use cases, signing behavior, and issuer semantics. No output schema exists, but the creation of a signed JWT is clearly implied. Minor omissions like return format and validation behavior are not critical given the tool's simplicity.

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 documents all three parameters. The description reinforces that the payload is arbitrary and that the DID is used as issuer, but it does not add substantial new parameter semantics 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 states a specific action and resource: 'Create a signed JWT with an arbitrary payload.' It also distinguishes itself from credential-focused siblings by emphasizing arbitrary signed payloads for challenge-response and inter-agent messages, making selection unambiguous.

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?

It provides clear usage contexts: 'challenge-response authentication, signed messages between agents, or any custom signed payload.' It does not explicitly list exclusions or alternatives, but the use cases are specific enough to guide an agent.

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