Skip to main content
Glama

Last Price

activate_order

Idempotent

Activate a draft order: pass order_id. It answers 404 when the order is missing or is no longer a draft. Needs a claimed Last Price credential. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order: its id, as list_orders shows it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond them by disclosing the auth requirements (claimed credential and claimed workspace) and the exact failure semantics (403 for unclaimed sandbox keys, 404 for missing/non-draft orders). It does not say what activating actually changes on the order or whether it can be undone, but given the annotation coverage of idempotency and non-destructiveness this is solid supplementary context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, action stated first, which is good front-loading. The credential and workspace sentences are dense and slightly clipped (e.g. 'Needs a claimed Last Price credential'), reading like terse notes rather than polished guidance, but little is wasted.

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?

With no output schema the description should convey what a successful call produces or changes, and it only implies a draft-to-active transition without stating effects on the order. It does cover the two things an agent most needs — preconditions and error codes — so it is adequate but not complete for a mutation tool.

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?

Only one parameter and schema description coverage is 100%, so the schema already documents order_id as the UUID 'as list_orders shows it'. The description reinforces that with 'pass order_id' but adds no format or sourcing details beyond the schema, so it sits at the baseline-plus level rather than contributing new semantics.

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?

Specific verb ('Activate') and resource ('a draft order'), with the scope narrowed to drafts, which tells an agent this is a state transition rather than a generic update. It never names a sibling such as update_order or get_order to sharpen the boundary, so it stops short of full differentiation.

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?

Explicitly states the preconditions: a claimed Last Price credential and a claimed workspace, with the self-registration sandbox key path called out as refused with 403. It also explains the 404 condition (order missing or no longer draft), which tells the agent what a failure means. No guidance on when to prefer this over update_order, hence not a 5.

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