Skip to main content
Glama

Final POS – Custom POS Builder

Sync refund to store

hub_sync_refund_to_ecommerce
Destructive

Push a refund that ALREADY exists in Final POS to the connected WooCommerce store, so the online order shows as refunded there. Takes the REFUND id from get_refunds — the order id will not work. CONFIRM WITH THE MERCHANT BEFORE CALLING: it creates a refund on their live store, there is no undo from here, and calling it twice creates a second refund there. It does NOT move money back to the customer and it does NOT create a refund in Final POS — that happens on the POS terminal.

Input Schema

NameRequiredDescriptionDefault
refundIdYesRefund id from get_refunds — not an order id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag destructiveHint=true, but the description goes well beyond that: no undo from here, calling it twice creates a duplicate refund (idempotency warning), merchant confirmation required, and it is not a money movement. These are high-value operational facts the annotations cannot express.

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?

Front-loads the core action then layers warnings; every sentence carries distinct information (scope, id source, confirmation/irreversibility, non-effects). The heavy capitalization is slightly noisy but functionally clarifying rather than filler.

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 single-parameter tool with no output schema, the description supplies everything an agent needs: precondition, input source, irreversibility, idempotency risk, human-confirmation gate, and explicit non-behaviors.

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% and the schema already says 'not an order id', so the description's repetition alone would only rate baseline 3. It earns a 4 by naming get_refunds as the actual source of the identifier, which the schema does not state, closing the most likely invocation error.

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 (push/sync), resource (refund), direction (Final POS → connected WooCommerce store) and the resulting effect (online order shows as refunded). An agent can distinguish it from hub_sync_order_to_ecommerce and hub_get_refunds without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly scopes when to use it: only for a refund that ALREADY exists in Final POS, with the id sourced from get_refunds. It also names the when-not conditions (does not move money, does not create the POS refund — that is done on the terminal), which is exactly the exclusion guidance needed.

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.