Skip to main content
Glama

Order Write Tool

order-write
Destructive

Update an order's status, dates, notes, service, assignments, tags, metadata or linked orders. Collection fields replace their complete lists; omitted fields stay unchanged. Changes can notify clients and trigger integrations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoInternal order note. Max 65535 characters.
tagsNoTag names or IDs. Replaces current tags when provided.
actionYesAction to perform.
statusNoOrder status ID. Use numeric IDs, not status names.
serviceNoSnapshot service name on the order. Max 255 characters.
date_dueNoDue date/time. YYYY-MM-DD or ISO 8601.
metadataNoMetadata key/value map. Empty values delete that metadata key.
employeesNoEmployee/staff user IDs to assign. Replaces current assignments when provided.
created_atNoCreation date/time. YYYY-MM-DD or ISO 8601.
service_idNoService ID to associate with the order.
date_startedNoStarted date/time. YYYY-MM-DD or ISO 8601.
order_numberNoOrder number. Required when updating an existing record.
linked_ordersNoOrder numbers to link bidirectionally. Replaces current linked orders when provided.
date_completedNoCompleted date/time. YYYY-MM-DD or ISO 8601.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses that collection fields replace complete lists and that omitted fields remain unchanged, and that changes can notify clients and trigger integrations. This goes beyond the annotations, which only indicate destructiveHint. It does not explicitly warn about irreversible data loss, but the replace language is explicit enough.

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?

The description is two sentences, front-loaded with the action and target, followed by crucial behavioral notes. No redundant or irrelevant content. Efficient and clear.

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?

For a tool with 14 parameters and nested objects, the description gives key operational context: update semantics, replace behavior, and side effects. It does not cover every edge case (e.g., required order_number), but those are in the parameter schema. The description is sufficient for an agent to understand the tool's role and basic constraints.

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?

The schema already provides descriptions for each parameter (e.g., 'Replaces current tags when provided', 'Empty values delete that metadata key'). The main description adds little beyond a high-level summary of field categories. It does not introduce new parameter-specific information that isn't already in the schema.

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 clearly states that the tool updates an order's various fields (status, dates, notes, service, assignments, tags, metadata, linked orders), and distinguishes it from read-only tools. The name and action enum reinforce the write/update purpose. It is specific and unambiguous.

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?

The description implies when to use it (when updating an existing order) but does not explicitly contrast with alternative tools like order-read. However, the update semantics and mention of side effects (notifications/integrations) provide sufficient guidance. It could be more explicit about not using it for read-only operations, but the name and annotation cover 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