Skip to main content
Glama

Issue account Passport

stack_partner_issue_account_passport

Issue a STACK passport under an account on the customer's behalf. Like every passport it is signed with the deployment's signing key and verifies offline against the deployment's JWKS (/v1/.well-known/jwks.json, which verifyPassportHeader reads); its stk.operator_id is the account. The account's own signing keys sign claims, not passports. Issuance counts as an action of the account, on its own plan. mission_ids is required: exactly one live Mission under the account, and the Passport never outlives it. Fields match stack_issue_passport's API body (scopes, ttl_seconds, intent, checkpoint_interval_seconds, identity_claim_ids, authority_binding_ids). Returns the Passport token, which can be stamped on outbound mail as an X-Stack-Passport header.

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": {
      "account_id": "<account_id>",
      "agent_id": "<agent_id>",
      "mission_ids": "<mission_ids>"
    },
    "name": "stack_partner_issue_account_passport"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNo
scopesNo
agent_idYesAgent under the account that the passport is issued for.
account_idYesAccount id (op_*) — must belong to your partner operator.
mission_idsYesExactly one live Mission id (ms_*) opened under the account (with the account's API key), assigned to this agent or unassigned.
ttl_secondsNo
identity_claim_idsNo
authority_binding_idsNo
checkpoint_interval_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description goes much further, disclosing the signing key used, offline verification against the deployment JWKS, that stk.operator_id is the account, and that the passport's lifetime is capped by the Mission. It also states the return value is the token and that it can be stamped as an X-Stack-Passport header, which no structured field conveys.

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?

Purpose is front-loaded in the first sentence and every subsequent clause carries real information about signing, lifetime, or return value. It is dense — the JWKS parenthetical and the pointer to stack_issue_passport's API body add length — but nothing is truly redundant.

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 9-parameter mutation tool with no output schema, the description covers the return value, the signing/verification story, and the key constraint on mission_ids. What remains thin is the semantics of the complex nested scope and intent objects, which the description names but does not unpack.

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 coverage is only 33% across 9 parameters, so the description carries real burden here. It adds meaning for mission_ids (the passport never outlives it) and enumerates the optional body fields, but it does not explain the nested scopes or intent structures, ttl_seconds bounds, or what identity_claim_ids and authority_binding_ids do — the agent must fall back to the schema or to knowledge of stack_issue_passport.

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 STACK passport under an account on the customer's behalf" states the verb, the resource, and the partner-scoped angle that separates it from stack_issue_passport. It further disambiguates by noting that the account's own signing keys sign claims rather than passports, so an agent cannot confuse the two issuance paths.

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 supplies concrete prerequisites — exactly one live Mission under the account, opened with the account's API key, assigned to this agent or unassigned — and notes that issuance counts as an action of the account on its own plan. It does not explicitly say when to prefer stack_issue_passport or stack_delegate_passport instead, so the routing guidance is implied rather than stated.

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.