Skip to main content
Glama
GT5041

return-billing-mcp-server

by GT5041

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TODAYNoThe date to use as 'today' for return eligibility calculations, in YYYY-MM-DD format. If not set, the actual system time is used.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lookup_orderA

ユーザーID(メールアドレス)から、そのユーザーの注文一覧(商品名・数量・注文日・請求ステータス)を取得する。問い合わせ対応の最初のステップとして、ユーザー本人確認を側ねて呼び出す。

check_return_eligibilityA

注文IDを指定し、注文日から1ヶ月以内かどうかに基づいて返品可能かどうかを判定する。返品期限超過・返品済みの場合も「エラー」ではなく eligible=false の正常応答として返す。

process_returnA

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

get_billing_statusA

ユーザーID(メールアドレス)から、そのユーザーの全注文の請求ステータス(未払い/支払い済み)一覧を取得する。未払いの注文には振込先情報(payment_instructions)が付与される。

escalate_to_humanA

返品にも請求にも該当しない問い合わせについて、有人オペレーターとの会話セッションを管理する。ユーザーの発言1回ごとに呼び出すこと。ターン数をサーバー側で管理し、5ターンで終了確認、10ターンで強制終了(別問い合わせの起票を依頼)という状態を status フィールドで返す。オペレーターの回答文自体はこのツールでは生成しないため、呼び出し側のエージェントが一般的なオペレーターとして応答内容を作成すること。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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