Skip to main content
Glama

Revoke Mission

stack_revoke_mission
Destructive

Revoke a Mission. Every Passport bound to it is revoked in the same transaction, whatever the reason. reason records why: adversarial for suspected abuse, operator_initiated_clean for an ordinary stop. A second call returns the prior state with transitioned=false.

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": {
      "mission_id": "<mission_id>",
      "reason": "<reason>"
    },
    "name": "stack_revoke_mission"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoOptional human-readable note attached to the revoke event.
reasonYesWhy the Mission is revoked. Both reasons revoke its bound Passports.
mission_idYesMission id from stack_open_mission (ms_*).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the lower bar applies; the description still adds real value by disclosing the transactional cascade to bound Passports and the idempotent second-call behavior returning prior state with transitioned=false. It does not state irreversible/audit-retention details beyond that, keeping it just short of a 5.

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?

Four short sentences, front-loaded with the destructive action and its cascade, then the reason semantics, then idempotency. No filler.

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 destructive 3-parameter mutation with no output schema, the description covers blast radius, reason semantics, and repeat-call behavior. Minor gaps remain on permission requirements and return shape, but the essentials for correct invocation are present.

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 baseline is 3; the description goes beyond it by explaining that reason records why and that both reasons revoke bound Passports, clarifying that the enum choice affects messaging rather than whether passports die. mission_id format and notes semantics are left to the schema.

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?

Names a specific verb+resource (revoke a Mission) and immediately states the cascading scope: every bound Passport is revoked in the same transaction. That distinguishes it from the passport-level siblings like stack_revoke_passport or stack_revoke_agent_passports.

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?

Explains the two reason values and when each applies (adversarial for suspected abuse, operator_initiated_clean for an ordinary stop), which guides the required enum choice. It does not explicitly say when to prefer stack_revoke_passport or stack_complete_mission over this tool, so an explicit alternative statement is missing.

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.