Skip to main content
Glama
GT5041

return-billing-mcp-server

by GT5041

返品処理実行

process_return

Finalize a return for an eligible order by recording the return reason and sending a return confirmation email. Returns an error if the order is not eligible.

Instructions

check_return_eligibility で返品可能と判定された注文について、返品理由を受け取り返品処理を確定する。処理完了後、ユーザーの登録メールアドレス宛てに返品受付通知メールを送信する(本サンプルでは送信をシミュレートする)。返品不可の注文に対して呼び出された場合は RETURN_NOT_ELIGIBLE エラーを返す。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes返品理由(ユーザーからの聴き取り内容)
order_idYes返品対象の注文ID
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses that the tool sends a return acceptance email (simulated) and returns an error for ineligible orders. It doesn't detail idempotency, return response structure, or other side effects, but the key behaviors are well covered.

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?

The description is concise, consisting of two sentences. It front-loads the core action in the first sentence and adds important side effects and error handling in the second. No superfluous information is present.

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?

Given the absence of an output schema, the description adequately covers the prerequisite, the main action, the email side effect, and the error condition. It doesn't specify the exact success response format, but for a sample tool it is sufficiently complete for an agent to invoke it correctly.

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% for both required parameters, so the baseline is 3. The description adds minimal meaning beyond the schema (e.g., 'receives return reason' is essentially the same as the schema's description). No additional parameter details are provided.

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's function: confirming return processing for orders already judged returnable by check_return_eligibility. It also distinguishes itself from siblings by referencing this prerequisite and by specifying the action (confirming the return) and the side effect (sending notification email).

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?

The description provides explicit usage context: it should be used for orders that have passed check_return_eligibility. It also warns that calling it on non-eligible orders results in RETURN_NOT_ELIGIBLE error, implying when not to use it. However, it doesn't explicitly mention alternatives or when to choose other tools like escalate_to_human.

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/GT5041/gt_20260811'

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