Skip to main content
Glama

CampaTune — Multilingual Social Media Campaign Copy Optimizer

create_topup

Idempotent

チャージ用のStripe Checkout URLを作成。本人が決済後、入金確認で残高へ反映。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount_jpy": "<amount_jpy>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_topup"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount_jpyYes
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false). The description adds genuinely non-structured context: the output is a Stripe Checkout URL for the user to pay through, and the balance is NOT credited at creation time but only after deposit confirmation — a key timing fact that prevents an agent from assuming immediate crediting. It stops short of stating auth requirements or expiry of the URL.

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?

Two short sentences with no filler; the action is front-loaded and the payment-timing caveat follows immediately. Every sentence carries distinct information.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the mutation/idempotency profile is covered by annotations. What is missing is parameter-level detail (amount constraints, idempotency key usage) and workflow context such as how to verify the result — acceptable but not complete for a payment-initiating tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description mentions neither parameter. amount_jpy (integer units, currency, min/max limits) and idempotency_key (retry deduplication semantics) are left entirely to name inference, which is a real gap for a payment tool where amount units and idempotency behavior matter.

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 states a concrete verb and resource: it creates a Stripe Checkout URL for a top-up (チャージ用). The second sentence clarifies the resulting lifecycle (balance credited only after payment confirmation), which separates this initiation tool from the read-only siblings like get_topup_status or get_balance, though it never names them.

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 implied rather than stated: an agent can infer this is the step that starts a charge, and get_topup_status would be the follow-up to poll. There is no explicit when-to-use/when-not guidance, no note on prerequisites such as an existing account or balance limits, and no mention of retry behavior despite the idempotency key.

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