Skip to main content
Glama

Check Kash gift card

gift_card_check
Read-onlyIdempotent

Check a gift card’s validity, currency, available balance and optional purchase amount. Keep its code private.

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": {
      "code": "<code>"
    },
    "name": "gift_card_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesSensitive gift card code. Supply it as a string and leave it out of messages and URLs.
amountNoPositive amount in the card currency, as a decimal string.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds behavior beyond that: the card code is sensitive and must be kept private, which tells the agent how to handle the input and output conversationally. It stops short of stating what happens on an invalid or depleted card, leaving error behavior implicit.

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: the capability with its outputs first, the security constraint second. Nothing is repeated from the schema or annotations and no sentence is filler.

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?

An output schema exists, so return values need no explanation, and annotations cover the read-only/idempotent profile. For a two-parameter read tool the description is nearly sufficient; only the outcome of a failed or invalid-code check is left unspecified.

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 description coverage is 100%, so the baseline would be 3. The description goes slightly beyond the schema by framing 'amount' as an optional purchase amount, which communicates its purpose as a balance test rather than just a decimal string, and by reinforcing that 'code' is sensitive and not to be echoed.

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?

Uses a specific verb ('Check') on a specific resource ('gift card') and enumerates exactly what the check yields: validity, currency, available balance, and an optional purchase amount. It does not explicitly contrast with siblings such as coupon_check or gift_card_list_movements, but the resource and output scope make the distinction clear on its face.

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?

There is no explicit when-to-use or when-not-to-use statement, nor a named alternative. The purpose ('check validity... and optional purchase amount') implies the scenario of validating a card before redemption, but the agent must infer that from the stated capability rather than being told.

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