Skip to main content
Glama
raditotev

AgentTrust

by raditotev

issue_attestation

Generate a signed JWT attestation with an agent's current trust scores, enabling third parties to verify the agent's reputation without querying the service.

Instructions

Issue a signed attestation (JWT) capturing an agent's current trust scores.

The attestation is portable — the agent can present it to third parties who verify the signature without querying this service.

The JWT includes:

  • sub: agent_id

  • scores: snapshot of all trust scores at issuance time

  • agentauth_linked: whether the agent has an AgentAuth identity

  • iss: 'agent-trust'

  • exp/nbf/iat: validity window

Attestations are signed with the service's Ed25519 key. Verifiers can check the signature using verify_attestation without authentication.

ttl_hours: validity period in hours (default: ATTESTATION_TTL_HOURS config) Requires authentication with trust.attest.issue scope.

Example call: issue_attestation(agent_id="550e8400-...", access_token="eyJ...", ttl_hours=24)

Example response: { "attestation_id": "b1c2d3e4-...", "subject_agent_id": "550e8400-...", "jwt_token": "eyJ...", "score_snapshot": {"overall": {"score": 0.82, "confidence": 0.71}}, "valid_from": "2026-03-20T12:00:00+00:00", "valid_until": "2026-03-21T12:00:00+00:00" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
access_tokenYes
ttl_hoursNo
Behavior5/5

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

With no annotations, the description fully compensates by disclosing JWT contents, signing key (Ed25519), authentication scope requirement, example response, and the default for ttl_hours. No contradiction exists.

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 well-structured with a summary, bullet points of JWT contents, parameter details, example, and response format. It is informative but could be slightly more concise by removing some redundancy (e.g., portability statement repeated).

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 3 parameters and no output schema, the description covers purpose, authentication, parameter defaults, and example output. Missing error handling or rate limit info, but overall sufficient for selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description adds meaning: agent_id is implied by context, access_token requires specific scope, ttl_hours is validity period with a config-based default. An example call further clarifies usage.

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 issues a signed attestation (JWT) capturing trust scores, specifying verb (issue), resource (signed attestation/JWT), and content. It distinguishes from sibling tools like verify_attestation (which verifies) and list_my_attestations (which lists).

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 explains the attestation is portable for third-party verification without querying the service, and that verifiers can use verify_attestation without authentication. It provides usage context but does not explicitly state when not to use or compare with alternatives like get_agent_profile.

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/raditotev/agent-trust'

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