Skip to main content
Glama

nyx_exchange_identity

Exchange an agent's NyxID identity for a delegated access token to call APIs on behalf of a user without holding long-lived credentials.

Instructions

Exchange the agent's NyxID identity for a delegated access token bound to a downstream OIDC service (RFC 8693 token exchange). Lets the agent call APIs on behalf of a specific user without holding that user's long-lived credentials. The returned token carries the original user's identity claims while remaining auditable as an agent action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audienceYesTarget downstream service identifier (resource URI or audience claim) the exchanged token should be valid for.
scopeNoSpace-separated OAuth scopes to request on the exchanged token. Must be a subset of what the subject_user has approved for this agent.
subject_userYesUser ID or email of the principal whose identity the agent is acting on behalf of. Must already exist in NyxID and have granted the agent delegation rights.
ttl_secsNoRequested token lifetime in seconds. Bounded by the audience's configured maximum (typically 900-3600 seconds).
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It explains the token exchange behavior and that the result carries user claims while remaining auditable. However, it does not disclose failure modes, side effects, or security implications beyond what is stated.

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 only two sentences, front-loading the core action and adding context without repetition or filler. Every sentence adds value.

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?

Given the absence of an output schema, the description hints at the return value (a token with identity claims) and references RFC 8693 for specification. It lacks explicit error conditions or detailed output structure, but covers the essential behavioral context sufficiently for a security-sensitive tool.

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?

The input schema has 100% description coverage, so each parameter is already documented. The tool description adds no extra parameter-level information beyond the schema, achieving the baseline score.

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 performs RFC 8693 token exchange to obtain a delegated access token for downstream OIDC services. It explicitly distinguishes from sibling tools (list_services, proxy_request, request_approval) by focusing on identity delegation.

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 implies use cases for calling APIs on behalf of a user without holding long-lived credentials. While it does not explicitly state when not to use, the context and sibling tool names provide clear differentiation. It could benefit from mentioning prerequisites like user delegation rights, but the schema partially covers that.

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/ChronoAIProject/nyxid'

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