Skip to main content
Glama

Market: issue refund

geode_market_issue_refund
Destructive

Seller: resolve a reported problem by refunding the buyer. value is the refund you send from your own balance. Writes to the chain: this prepares an unsigned transaction (an intent) for signer; nothing happens until you sign it with geode-local-signer and submit it with geode_submit_intent. Irreversible: the first call returns a confirm_token; call again with it to proceed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesGEODE to send with this call (explicit; never inferred)
signerYesYour account address (SS58). The transaction is prepared for this account; you sign it on your own machine with geode-local-signer.
order_idYes0x-prefixed 32-byte hex id
confirm_tokenNoToken from the first call, to confirm this irreversible action

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that the call writes to chain but only prepares an unsigned intent, that signing happens locally via geode-local-signer and submission via geode_submit_intent, and that the action is irreversible with a confirm_token round-trip. This is exactly the operational context the destructiveHint/openWorldHint annotations cannot convey.

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?

Front-loaded with actor and action, then the amount semantics, then the write/sign/submit flow, then the irreversibility caveat. Four tight sentences with no filler; each one carries a distinct fact the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, chain-writing tool with full schema coverage and no output schema, the description covers the mutation lifecycle (intent, sign, submit), the confirmation requirement, and the source of funds. Nothing material to correct invocation is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by clarifying that `value` is the refund drawn from the seller's own balance (the schema only says 'GEODE to send') and by explaining the confirm_token's role in the second call. Minor addition, but genuinely beyond the schema text.

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?

States a specific verb and resource ('resolve a reported problem by refunding the buyer') and pins the actor role ('Seller'), which separates it from buyer-side siblings and from adjacent seller actions like geode_market_issue_replacement or geode_market_deny_resolution_request. An agent can identify the operation without opening the schema.

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?

Gives clear usage context (a seller responding to a reported problem) and describes the required two-step confirm workflow. It does not explicitly name when to prefer this over the sibling resolution tools (replacement, deny), so it falls short of full alternative-routing guidance.

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