Skip to main content
Glama

Complete Mission

stack_complete_mission
Destructive

Complete a Mission and submit its output. STACK checks any declared output schema before accepting successful completion, stores the output encrypted and signs its digest. Completing the Mission revokes every Passport bound to it.

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>"
    },
    "name": "stack_complete_mission"
  }
}

Input Schema

NameRequiredDescriptionDefault
outputNoFinal output, checked against the Mission's declared output schema and stored encrypted.
mission_idYesMission id from stack_open_mission (ms_*).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true and readOnlyHint=false; the description goes well beyond by disclosing that the output is validated against a declared schema before acceptance, stored encrypted, and that its digest is signed. Most importantly it states exactly what is destroyed — every Passport bound to the mission is revoked — which is the key fact an agent needs before calling a destructive tool.

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?

Three front-loaded sentences with no filler: the action first, then validation/storage behavior, then the destructive side effect. Each sentence carries distinct information.

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 mutation with no output schema, the description covers validation, storage, signing, and the revocation side effect. It leaves open what the caller sees when schema validation fails and whether completion can be undone, which keeps it from a 5.

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 description coverage is 100%, so both parameters are already documented (mission_id referencing stack_open_mission and output checked against the declared schema). The description reinforces the output-validation meaning but adds no syntax, format, or size guidance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Complete a Mission and submit its output'), which is clearly distinct from the invocation-level sibling stack_complete_invocation. It does not explicitly name or contrast any sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied — you complete a mission when you have its final output. There is no explicit when-not guidance (e.g., paused missions, missions under operator review, missions with missing recipients) and no named alternative such as stack_review_paused_mission or stack_revoke_mission, even though those siblings suggest meaningful forks.

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.