Skip to main content
Glama

Open a production

open_production

Open a production: one piece of work with one budget the user approves up front. Call it first without max_credits to get a confirmation; nothing is charged or set aside. After the user agrees to the budget, call it again with the same arguments plus max_credits (equal to budget_credits) and the confirmation. Then pass production_id to paid tools: they run without asking again while the budget lasts. A production ends after 24 hours without activity or 7 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "open_production"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional. A short name for this piece of work (up to 120 characters).
projectNoOptional. Your own project label (up to 128 characters).
max_creditsNoSet equal to budget_credits after the user agreed to the first call's confirmation.
confirmationNoThe confirmation from the first call. Only set it after the user agreed.
budget_creditsNoThe most credits this production may spend in total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say this is not read-only and not destructive), the description discloses the two-phase authorization protocol, that the first call has zero cost or reservation, that paid tools will not re-prompt while budget lasts, and the expiry rule (24h inactivity or 7 days). That is substantial behavioral context an agent cannot get from the structured fields.

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?

Six short sentences, each carrying distinct operational information, ordered as the agent will actually execute the flow. No restatement of the title or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, no-output-schema tool with a non-obvious two-call gate, the description supplies everything needed to invoke it correctly, including the expiry rule and the downstream use of production_id. Nothing an agent needs is missing.

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 schema already defines each field, which sets a baseline of 3. The description still adds relational meaning the schema cannot express: max_credits must equal budget_credits and both appear only on the second call, and confirmation must come from the first call's response.

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 gives a specific verb and resource and immediately defines what a 'production' is ('one piece of work with one budget the user approves up front'), plus its lifecycle. It never names open_canvas or open_handoff to contrast against, so the sibling differentiation is implicit rather than explicit.

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

Usage Guidelines5/5

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

It prescribes the exact call sequence: first without max_credits to obtain a confirmation, then a second call with the same arguments plus max_credits and the confirmation, then reuse of production_id by paid tools. The 'nothing is charged or set aside' note on the first call makes the when-to-use boundary unambiguous.

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.