Skip to main content
Glama

TCS-i

Create or replace an order

create_order
DestructiveIdempotent

Create an order in TCS-i, or replace it while it's open (PUT /v1/orders/{order_id}). Free. Lines are SKUs and quantities; TCS-i fills in sizes and tags from your products.

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": {
      "order_id": "<order_id>",
      "lines": "<lines>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
brandNo
linesYes
order_idYes
order_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new context beyond them: the replace-only-while-open constraint, the cost ("Free"), and the fact that TCS-i enriches lines with sizes and tags. It stops short of saying whether replacement discards existing lines entirely or what a rejected replace returns.

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?

Three short sentences, front-loaded with the verb and the create-vs-replace distinction, with no filler. "Free." is terse but earns its place as a routing signal; a slightly fuller clause on the replace condition would cost little.

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

Completeness3/5

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

For a destructive, idempotent mutation with no output schema and five undocumented parameters, the definition covers the core action, cost, and enrichment side effect. It leaves out what the response contains and what happens to existing order data on replace, which matter for a destructive call.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry the burden and it only partly does: it explains that lines are SKUs with quantities and that order_id is the path key. The note, brand, and order_number parameters receive no explanation anywhere, leaving half the surface undocumented.

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 ("Create an order in TCS-i") and adds the dual-mode behavior (create vs. replace while open) with the underlying endpoint. An agent understands exactly what the call does; it just isn't explicitly contrasted against siblings like list_orders or explain_order.

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?

"or replace it while it's open" gives one real usage condition, and "Free" signals a cost trade-off that may steer the agent away from costlier endpoints. There is no guidance on prerequisites (how to obtain order_id, whether the order must exist first) or when to prefer a sibling tool.

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