Skip to main content
Glama

Structured Refund Request

finance_refund_request

Structured Refund Request: order + failure receipt + payment receipts + purchase snapshot -> a standard signed dispute object with evidence strength and gaps. OMENZ packages evidence; it doesn't rule or move money. Deterministic; never pays a target. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/finance/refund-request, $0.002 via x402.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "finance_refund_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoorder
remedyNoremedy
failureNofailure
receipt_idsNoreceipt ids
snapshot_tokenNosnapshot token

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / failure / description
      Added value: +"failure"
    • addedInput schema / properties / order / description
      Added value: +"order"
    • addedInput schema / properties / receipt_ids / description
      Added value: +"receipt ids"
    • addedInput schema / properties / remedy / description
      Added value: +"remedy"
    • addedInput schema / properties / snapshot_token / description
      Added value: +"snapshot token"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, and the description adds genuinely new behavioral facts on top: deterministic output, it never pays or moves money, and it packages rather than rules. Cost and execution-surface details ($0.002 via x402, production endpoint) further set expectations. It stops short of saying whether the signed object is persisted and whether repeat calls create duplicate disputes, which matters given idempotentHint=false.

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?

The first sentence is well front-loaded with the input-to-output contract. The remainder mixes useful disclaimers with filler: 'By OMENZ.' earns nothing, and the long parenthetical about AYNE, the tollbooth URL, and x402 pricing is operational trivia that competes with the actual behavior for attention.

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?

With no output schema, the description does the work of describing the return value ('a standard signed dispute object with evidence strength and gaps'), which is the key missing piece otherwise. The gap is that all five parameters are optional and the description never states a minimum viable input set, leaving the agent unsure what constitutes a valid request.

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?

Schema description coverage is 100%, but those schema descriptions are bare restatements ('order', 'remedy', 'failure', 'receipt ids', 'snapshot token'). The description partially compensates by naming four of the five inputs in the formula (order, failure receipt, payment receipts, snapshot), but the 'remedy' parameter is never explained, and no formats for receipt_ids or snapshot_token are given. Baseline 3 is appropriate.

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 uses a concrete input-to-output formula ('order + failure receipt + payment receipts + purchase snapshot -> a standard signed dispute object with evidence strength and gaps'), so an agent knows exactly what it produces. It also carves out scope negatively ('it doesn't rule or move money'), which helps separate it from payment-executing siblings, though no sibling is named.

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: the agent can infer this is for assembling refund/dispute evidence, and the 'doesn't rule or move money' clause tells it this is a packaging step, not an adjudication step. There is no explicit when-to-use condition, no prerequisite guidance, and no named alternative for agents that actually need to move funds.

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