Skip to main content
Glama

Procurement: Draft purchase plan

proc_plan_create_draft

Create a DRAFT purchase plan from the latest calculation's recommendations (all at-risk items, or the SKUs given). A draft orders nothing and spends nothing: a person reviews it and turns it into purchase requests in the cabinet. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": "proc_plan_create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
itemsNoSKUs or ERP item ids; default every shortage/order_now item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the draft orders nothing and spends nothing, that a person reviews it in the cabinet, and that the tool returns status='confirmation_required' with an action_id and plan_token before any write occurs. This is substantial behavioral context not carried by the annotations alone.

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 description is front-loaded with the core action and the safety/confirmation behavior, with little waste. It is slightly verbose in the confirmation section, but that detail is materially useful.

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?

Given that there is no output schema, the description supplies the key return behavior (status, action_id, plan_token) and the two-step confirmation flow. It gives an agent enough to call the tool correctly and avoid mistaking it for a direct write.

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?

The description clarifies the semantics of 'items' as all at-risk items, given SKUs, or the default of every shortage/order_now item, which meaningfully supplements the schema's partial coverage. The 'name' parameter remains undocumented, but the added meaning for the main content parameter is strong.

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?

The description states a specific verb and resource ('Create a DRAFT purchase plan') and names the source of the content ('the latest calculation's recommendations'), making it distinguishable from confirm_action and other draft-style siblings.

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 establishes the context of use: turning calculation recommendations into a reviewable draft, either for all at-risk items or the given SKUs. It also routes the actual write to confirm_action, though it does not name explicit when-not conditions beyond that.

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.

Resources