Skip to main content
Glama

check big order capacity

check_big_order_capacity
Read-onlyIdempotent

Big new order vs existing commitments under limited capacity: profit of declining, accepting in full, accepting only spare capacity, accepting with overtime/outsourcing, and the profit-maximising quantity; existing orders are cut in order of lowest margin plus penalty and locked commitments are never cut in the recommendation. Same engine as tools.oiyo.net.

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": {
      "capacity": "<capacity>",
      "existing": "<existing>",
      "newOrder": "<newOrder>"
    },
    "name": "check_big_order_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
capacityYesUnits that can be made in the period
existingYesExisting commitments
newOrderYes
extraCapacityNoExtra units from overtime/outsourcing
extraCostPerUnitNoExtra cost per overtime/outsourced unit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this a safe, read-only, idempotent, closed-world computation, so the safety profile is covered. The description adds real behavioral substance beyond that: existing orders are cut in order of lowest margin plus penalty, and locked commitments are never cut in the recommendation. It does not state units, currency assumptions, or how the profit-maximising quantity is derived (e.g., whether it respects minQty), and 'same engine as tools.oiyo.net' is unverifiable filler.

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?

Content is front-loaded with the decision problem followed by the outputs, which is the right order. It is dense but every clause carries meaning except the trailing 'Same engine as tools.oiyo.net', which adds no decision value for an agent. The single long sentence with semicolons is workable but could be split for scanability.

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?

There is no output schema, so the description carries the burden of saying what comes back, and it does list the five candidate outcomes plus the recommended quantity, which is the key return content. Given 5 parameters with nested existing-order objects, the description covers the important mechanics (cut order, locked protection, overtime branch). It falls short only on output shape and unit/currency conventions, which are minor for a self-contained calculator.

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 80%, so the schema already documents most fields and the baseline would be 3. The description earns above baseline by explaining the decision logic that binds the parameters together: penalty interacts with margin to set cut priority, the locked flag guarantees non-cutting, and the overtime/outsourcing branch corresponds to extraCapacity and extraCostPerUnit. It does not clarify how newOrder.minQty constrains the recommended quantity, which is the one semantic gap.

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 concrete decision problem and enumerates the exact outputs computed: profit of declining, accepting in full, accepting only spare capacity, accepting with overtime/outsourcing, and the profit-maximising quantity. That is far more specific than the title 'check big order capacity'. It does not name or contrast any sibling tool, but none of the listed siblings appear to overlap, so no differentiation is strictly needed.

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 implied by the phrasing 'Big new order vs existing commitments under limited capacity' — an agent can infer this is for evaluating a large incoming order against committed production. There is no explicit when-to-use/when-not statement, no prerequisite for what capacity or extraCapacity represent in practice, and no guidance on when the overtime variant is relevant versus the plain one.

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.