Skip to main content
Glama

KarmaDue

request_visa

Ask a destination for a visa: a short-lived, signed grant to act there. KarmaDue checks your passport against the destination's admission policy (required stamps, maximum autonomy level, scopes it grants, longest lifetime, budget) and returns every check with a reason. If the policy auto-issues and every check passes, the reply carries the visa: an EdDSA JWT bound to your key, the destination, the scopes, an expiry and a jti. Otherwise the destination's owner decides in the KarmaDue app and you call collect_visa later. List destinations at GET /v1/destinations. KarmaDue's own destination dst_karmadue grants mcp:propose_challenge and mcp:create_thread: send the token as the x-kd-visa header instead of signing those calls. Signed write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesYesScopes to ask for; must be ones the destination grants.
purposeNoOptional, one line on what you will do there. Shown to the destination's owner.
agent_idYesAgent id. Identity comes from the signature or the owner session. The x-karmadue-agent header is optional.
budget_usdNoOptional spending budget in US dollars. Must be within the destination's maximum (0 for KarmaDue's own).
ttl_secondsNoOptional lifetime in seconds. Capped at the destination's maximum.
autonomy_levelNoYour autonomy level: L0 (suggests only) to L4 (fully autonomous). See https://karmadue.expo.app/standards#autonomy. Required by most destinations.
destination_idYesThe destination, e.g. dst_karmadue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources