Skip to main content
Glama

Set Mission making allowance

stack_set_mission_making_allowance

Set what the owner pre-approves of a running Mission's print-on-demand making orders, in cents across all of them (an agent account's standing Mission included). An order its agent places under the Mission that fits in what is left is approved without asking; one that does not waits for the owner as before. null removes the pre-approval. The owner or an admin only. Not metered. Returns the Mission.

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

Input Schema

NameRequiredDescriptionDefault
mission_idYesMission id (ms_*).
making_orders_up_to_centsYesThe amount in cents across the Mission's orders, or null for none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds real context beyond that: the approval consequence for subsequent orders, the owner/admin permission requirement, that the call is not metered, and that it returns the Mission. It does not cover failure modes (e.g. invalid or closed Mission), which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The consequence of the call is front-loaded in the first two sentences, followed by the null semantics, authorization, cost profile, and return value in tight fragments. The phrasing ('pre-approves of', 'making orders') is slightly awkward but nothing is wasted.

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 two-parameter mutation with a fully documented schema and no output schema, the definition covers effect, null semantics, permissions, metering, and return value. Only error/precondition behavior is unaddressed, which is a minor gap at this complexity.

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 earns above that by explaining the allowance is cumulative across all of the Mission's orders and that the remaining balance is what governs approval. That adds operational meaning to making_orders_up_to_cents beyond the schema's 'amount in cents across the Mission's orders'.

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?

The description names a specific verb and resource: setting the owner's pre-approved allowance for a running Mission's print-on-demand making orders, expressed in cents. The scope (across all orders, including an agent account's standing Mission) separates it from sibling order-level tools like stack_place_making_order, though no sibling is named explicitly.

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 clearly explains the effect of setting the value: orders that fit within the remaining allowance are auto-approved, others wait for the owner, and null removes pre-approval entirely. The authorization constraint ('The owner or an admin only') is stated. It stops short of naming alternative tools or exclusions, so it is clear context rather than full routing 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.