Skip to main content
Glama

Issue Passport

stack_issue_passport

Issue a signed Passport for an agent and return the token, jti and expiry. mission_ids holds exactly one live Mission (ms_*) assigned to this agent or unassigned; stack_open_mission opens one, and stack_start_mission opens a Mission and issues its Passport in one call. The Passport never outlives its Mission, and completing or revoking the Mission revokes it. Enforced and logged agents require an intent summary and services. Enforced agents receive a short TTL that checkpoints extend. authority_binding_ids attaches up to eight active, opaque authority binding references. scope_overrides narrows per-connection OAuth scopes and adds parameter-level constraints or intents on top of the grant baseline; it never loosens the grant.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>",
      "mission_ids": "<mission_ids>"
    },
    "name": "stack_issue_passport"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID
mission_idsYesExactly one Mission id (ms_*) the Passport is issued for, from stack_open_mission.
ttl_secondsNoTTL in seconds (overridden by checkpoint interval for enforced agents)
will_delegateNoWhether the agent will delegate to other agents
intent_summaryNoWhat the agent will do (required for enforced/logged agents)
intent_servicesNoServices the agent plans to use (required for enforced/logged agents)
scope_overridesNoPer-connection overrides. Lets this specific passport tighten scope and/or add constraints on top of the grant baseline, and declare which sources' content (a service, or service@<connection id>) may flow into each (allow_data_from). Constraints and intents expand + merge into a superset of the grant baseline; allow_data_from narrows within the grant ceiling.
estimated_durationNoEstimated mission duration, e.g. "30m", "2h"
identity_claim_idsNoOpt-in: only embed these identity claim IDs. When omitted, all valid claims are embedded.
checkpoint_intervalNoCheckpoint interval for enforced mode, e.g. "5m", "15m", "1h"
authority_binding_idsNoExact active authority bindings assigned to this agent. Maximum eight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (which already signal a non-destructive, non-open-world write), it discloses real behavioral traits: the Passport never outlives its Mission, completing or revoking the Mission revokes it, enforced/logged agents must supply intent_summary and intent_services, enforced agents get a short TTL extended by checkpoints, and scope_overrides can only narrow, never loosen. Minor gaps remain around what happens on repeated issuance for the same agent/Mission.

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?

Front-loaded with the action and return values, then the Mission constraint, then the alternatives, then the conditional requirements and scope rules. Dense but each sentence carries information; the final sentence about scope_overrides is the wordiest and partially restates the schema.

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 an 11-parameter issuance tool with no output schema, the description covers the identity of the result (token, jti, expiry), the Mission coupling, the conditional intent fields, and the narrowing semantics of overrides. It leaves the duration/checkpoint and delegation parameters entirely to the schema, which is acceptable given full schema coverage but is a small residual gap.

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 100%, so the baseline is 3; the description adds genuine meaning by explaining that scope_overrides narrows per-connection OAuth scopes and layers parameter-level constraints or intents on top of the grant baseline without ever loosening it, and by bounding authority_binding_ids to eight active opaque references. It adds less for ttl_seconds, will_delegate, checkpoint_interval, and identity_claim_ids, which the schema already documents.

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?

"Issue a signed Passport for an agent and return the token, jti and expiry" gives a specific verb, resource, and return shape, and it explicitly distinguishes itself from stack_open_mission and stack_start_mission by naming what each does instead.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the precondition on mission_ids (exactly one live Mission assigned to this agent or unassigned) and routes the agent to the two alternatives: stack_open_mission when no Mission exists yet, stack_start_mission when opening and issuing should happen in one call. That is explicit when-to-use and when-to-use-something-else guidance.

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.