Skip to main content
Glama

topup-gift-card

Adds funds to an existing gift card by accepting its ID and amount, enabling balance top-ups for store gift cards.

Instructions

Add balance to an existing gift card

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": {
      "gift_card_id": "<gift_card_id>",
      "amount": "<amount>"
    },
    "name": "topup-gift-card"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to add to the gift card
gift_card_idYesThe gift card ID to top up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It says nothing about whether the operation is reversible, what happens to a voided card, currency handling, or failure modes for invalid amounts — real gaps for a mutation tool.

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?

A single front-loaded sentence with no filler. It is efficient but arguably under-specified rather than truly concise, which keeps it just below the top.

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

Completeness2/5

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

For a money-moving mutation with no annotations and no output schema, the description should cover preconditions, amount constraints (currency, caps), and what a successful response confirms. None of that is present.

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% with only two parameters, so the schema already explains gift_card_id and amount, including a minimum. The description adds only the implicit constraint that the card must already exist, which is marginal.

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?

States a specific verb ('Add balance') and resource ('gift card'), and the qualifier 'existing' distinguishes it from create-gift-card. It is not confused with get- or void-gift-card, though it doesn't explicitly route to any sibling.

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

Usage Guidelines2/5

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

No when-to-use guidance, no preconditions (card must exist and presumably not be voided), and no mention of when to prefer create-gift-card instead. The agent must infer everything from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.