Skip to main content
Glama

reorder

Use an order ID to build a new cart from a previous order, enabling quick reordering.

Instructions

create a new cart from a previous order for easy reordering.

Args: order_id: The order ID to reorder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full weight. It states that a new cart is created, but it does not disclose whether the existing cart is replaced or if the action is idempotent, what happens to the original order, or any required permissions. This lack of detail is risky for a mutation tool.

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?

The description is very short (one sentence plus parameter comment), which is efficient. However, it may be too brief given the lack of annotations, but it avoids unnecessary text.

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?

The tool is simple with one parameter and an output schema exists, so the description covers the basic functionality. However, it misses important context like prerequisites (e.g., order must belong to user), side effects (new cart replaces current?), and error conditions.

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 description adds basic meaning to the order_id parameter ('The order ID to reorder'), but does not specify format, source, or constraints. With 0% schema description coverage, this minimal addition is acceptable but not rich.

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 the tool creates a new cart from a previous order, which distinguishes it from sibling tools like create_cart (empty cart) and add_to_cart (adds to existing cart). The verb 'reorder' and resource 'cart from order' are 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 Guidelines3/5

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

The description implies usage when wanting to reorder from a past order, but it does not explicitly state when not to use it or mention alternatives. For example, it doesn't compare to using add_to_cart with items from an order manually.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sawyershoemaker/grubhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server