Skip to main content
Glama

offer_to_order

Confirms an offer by creating an order from it, optionally previewing the conversion with a dry run.

Instructions

Confirm an offer: creates an order from it.

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": {
      "document_number": "<document_number>"
    },
    "name": "offer_to_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a mutation but does not disclose whether the offer is marked confirmed or consumed, whether the operation is reversible, whether it can fail on an already-ordered offer, or what permissions/state it requires. The existence of a dry_run parameter is never acknowledged, which is a notable omission for a write operation.

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?

A single short sentence with the action front-loaded and no filler. Nothing is wasted, though the terseness is a symptom of missing content rather than good editing.

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

Completeness2/5

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

This is a state-changing business-document conversion with no annotations, no output schema, and zero parameter documentation. The description gives only the one-line outcome, leaving an agent unable to judge preconditions, idempotency, or the effect on the source offer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description needed to explain document_number (which document, offer vs order numbering?) and dry_run (what gets simulated). It explains neither; 'from it' only faintly implies that document_number identifies the offer. With two undocumented parameters and no compensating text, this is well below baseline.

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 pair: 'Confirm an offer' and the resulting artifact, 'creates an order from it'. An agent can tell this is a conversion tool rather than a plain create_offer or get_offer. It does not name or contrast any sibling, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or prerequisite guidance. Nothing says whether the offer must be in a draft/sent state first, or why an agent would call this instead of create_order directly. The only signal is the tool name and the implied conversion flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.