Skip to main content
Glama

Open Mission

stack_open_mission

Open a Mission with the access and limits needed for a job and return its mission_id (ms_*). Every Passport is issued for exactly one Mission, named at issuance as mission_ids: [mission_id]. agent_id assigns the Mission to one agent. A fleet agent supplies its fleet policy and requested access instead. Completing or revoking the Mission revokes every Passport bound to it. recipients, recipient_pins and reply_to_message set who the Mission may send to, for a policy rule that leaves recipients to each Mission; an agent woken by an incoming message passes that message's id as reply_to_message to reply to its sender and no one else. The agent cannot change them; only the owner can add to them. Opening a Mission is not metered; issuing its Passport is.

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": {
      "intent_summary": "<intent_summary>"
    },
    "name": "stack_open_mission"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitsNo
agent_idNoAgent the Mission is assigned to (agt_*). Only that agent can be issued a Passport for it. An agent caller is always assigned itself.
recipientsNoWho this Mission may send to (exact addresses, numbers or ids), applied at every recipient field a send names, a recipient inside the URL included (the path or one of its segments, such as a channel id). A policy rule that leaves recipients to each Mission allows a send only to these. A recipient listed twice is kept once. The owner can add more to a running Mission.
max_actionsNoTotal proxy + skill action count cap.
cap_behaviorNoPer cap: pause (default: actions refused with MISSION_PAUSED until the owner decides), refuse_action or end_mission.
cap_time_zoneNoIANA time zone of coverage_cap_period day. Default UTC.
intent_summaryYesFree-form human-readable intent. e.g. "process customer refund ord_123" or "publish blog post drafts".
recipient_pinsNoRecipient pins for a policy rule that leaves recipients to each Mission: a list of up to 64 { path, op, value }. path is "*" (every recipient field a send names, the URL path included) or a request field such as body.to or url.pathname; op is eq (one exact value) or in (a list of exact values, up to 1,000 recipients); one pin per path. The owner can add more to a running Mission.
fleet_policy_idNo
idempotency_keyNo
intent_servicesNoServices the mission expects to touch. The proxy gate denies actions to services NOT in this list. Empty = no narrowing.
baseline_profileNoBehavioral fingerprint recorded at issue time. Stored as provided, or null.
reply_to_messageNoThe id of a message you received, or of an incoming call you answered or declined (acall_*). The Mission may send only to the person who wrote it or called. Not found when the id is not an email, text, voicemail or answered or declined call of the agent's own account; an email whose sender could not be verified is refused with a plain message.
requested_accessNo
max_dropoff_bytesNoOutbound drop-off envelope byte cap.
coverage_cap_centsNoThe most the Mission may spend, in cents (in one day with coverage_cap_period "day").
expires_in_secondsNoMission TTL in seconds. Default 900 (15 min), no maximum, and no limit is needed at any length. Worker auto-completes past this with terminal_state=completed_expired.
coverage_cap_periodNomission (default) or day (ends at midnight in cap_time_zone).
max_duration_secondsNoWall-clock cap from mission start, in seconds. Worker auto-completes the mission past this point.
requested_operationsNo
authority_binding_idsNo
expected_output_shapeNoJSON Schema-ish object describing what success looks like. mission_close validates the submitted output against this.
max_concurrent_intentsNoAt most N intents in-flight at once.
expected_counterpartiesNoPre-registered counterparty URIs (wallet addresses, recipient emails, etc.). Pre-declaring a counterparty here suppresses the first-touch undeclared_target flag for it (the simulator treats declared counterparties as already-observed).
max_actions_per_serviceNoPer-service action sub-caps. Example: {stripe: 5, slack: 50} caps Stripe at 5 actions while allowing 50 Slack messages.
parent_passport_servicesNoWhen provided, validates intent_services is a subset of these. Typically passed at passport-issue time; can be omitted for standalone-mission flows.
making_orders_up_to_centsNoOwner-only: cents of print-on-demand orders approved without asking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the annotations by disclosing consequences: completing or revoking the Mission revokes every Passport bound to it, recipients are immutable to the agent but extendable by the owner, and opening is not metered while issuing a Passport is. These are non-obvious behavioral traits that materially affect how an agent should call the tool.

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-loads the core action and return value, then layers the constraints, so an agent can stop reading once it has what it needs. The recipient-related sentences are long and multi-clause, but each carries distinct policy information rather than 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 27-parameter nested schema with no output schema, the description supplies the return value and explains the parameters whose semantics are safety-critical, while the remaining fields carry their own schema descriptions. It does not cover the limits/cap_behavior family, but those are documented inline.

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 high (78%), so the baseline is 3, but the description adds genuine meaning for the policy-relevant parameters: what recipients governs (all recipient fields including URL path segments), the semantics of recipient_pins, and the narrow scope imposed by reply_to_message. It leaves limits, caps, and requested_access entirely to 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 ('Open a Mission with the access and limits needed for a job') and names the primary return value (mission_id, ms_*). It also implicitly separates this from passport issuance and from recipient changes ('only the owner can add to them'), though it never names the sibling tools that do those things.

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?

Gives real conditional context: fleet agents supply a fleet policy and requested access instead, and an agent woken by an incoming message passes that message's id as reply_to_message. It does not give explicit when-not-to-use guidance or name an alternative for the recipient-limit-editing case beyond saying the agent cannot change them.

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.