Skip to main content
Glama

Prepared order status / מצב הזמנה שהוכנה

get_order_draft_status
Read-onlyIdempotent

Whether a prepared order link is still valid and whether it was opened. Returns no personal details and no payment state. / האם קישור להזמנה שהוכנה עדיין בתוקף והאם נפתח. לא מוחזרים פרטים אישיים או מצב תשלום.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "get_order_draft_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesThe draft_id from create_order_draft

Output Schema

NameRequiredDescriptionDefault
statusYes
draft_idYes
expires_atNo
source_urlYes
valid_untilYes
generated_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely useful scope limit by stating that no personal details and no payment state are returned. It stops short of describing the actual status vocabulary (valid/invalid, opened/unopened) or any error behavior.

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?

Two short, front-loaded sentences that put the positive answer format first and the scope exclusion second. The only cost is the verbatim Hebrew duplication, which doubles the token length but is a deliberate localization pattern rather than filler.

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?

This is a simple one-parameter read with full annotations and an output schema, so return-value detail is not required. The description covers the two states it reports and what it deliberately omits. The remaining gap is routing guidance relative to the sibling link tools.

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?

There is a single parameter with 100% schema description coverage, and the schema already explains that draft_id comes from create_order_draft. The description mentions no parameters at all, so it adds nothing over the structured field; the baseline 3 applies.

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 states a specific check: whether a prepared-order link is still valid and whether it was opened. That is concrete enough for an agent to know what the call answers. It does not, however, distinguish itself from siblings such as get_order_link or show_order_link, which also act on the prepared order link.

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 only implied: an agent can infer this is a status/polling check on a draft created earlier. There is no explicit statement of when to prefer this over get_order_link or show_order_link, and no exclusions or prerequisites are given beyond the schema reference to create_order_draft.

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