Skip to main content
Glama

request_refund

Simulate a refund for a paid, shipped, or completed order in a sandbox, with no real money involved, for testing refund workflows.

Instructions

Simulate a refund for a paid/shipped/completed order (no real money).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
order_noYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that this is a simulation with no real monetary effect, which is important context. However, it says nothing about effects on order state, reversibility, permissions, or idempotency, leaving significant gaps for a mutation-style tool.

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?

A single compact sentence with the core action and the key non-destructive caveat front-loaded. Every element earns its place.

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 two-parameter tool with no annotations and no output schema, the description conveys purpose and a usage precondition but leaves parameter meaning and behavioral consequences uncovered. Adequate but with clear gaps.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters, and the description adds no meaning for 'order_no' or 'reason' beyond implying an order reference. With two undocumented parameters it should compensate but does not.

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+resource ('Simulate a refund ... for an order'), which is clearly distinct from siblings like pay_order or get_order. The parenthetical '(no real money)' reinforces the simulate semantics. No explicit naming of siblings, but the action is 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 phrase 'for a paid/shipped/completed order' implies an eligibility precondition that guides usage, but there is no explicit when-not-to-use or comparison to alternatives among the siblings. The condition is implied rather than framed as guidance.

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