Skip to main content
Glama
Swipe Smart MCP

Swipe Smart MCP

by afzalmukhtar

get_reward_balance

Check the current reward points balance for a specific credit card by name, including total points and period breakdown. Use it to confirm available rewards before redeeming or comparing cards.

Instructions

Checks the current accumulated reward points for a specific card.

Args:
    card_name: The name of the card to check.

Returns:
    Dictionary with total points, period breakdown, and card details.

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": {
      "card_name": "<card_name>"
    },
    "name": "get_reward_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
card_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a non-mutating lookup ("checks") and usefully discloses the return shape (total points, period breakdown, card details), but says nothing about error behavior for an unknown card name or any permission/auth requirements.

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?

The core purpose is front-loaded in one sentence, and the Args/Returns blocks are short and scannable. The Args section adds little since the parameter name is self-evident, but nothing is padded or verbose.

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?

For a one-parameter read tool with no output schema, the description covers the action, the input, and the return contents, which is enough to call it correctly. The remaining gap is ambiguity about the card identifier format, which is the kind of detail an agent would need in practice.

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 0% for the single required parameter, so the description must compensate. Its line "card_name: The name of the card to check" essentially restates the parameter name without clarifying whether this expects a nickname from get_my_cards, a product name, or an identifier, or what format/casing is valid.

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?

"Checks the current accumulated reward points for a specific card" gives a specific verb (checks) and resource (reward points) with scope (current accumulated, per card). It is clear, but it does not distinguish itself from nearby read tools such as get_points_history, which an agent could reasonably confuse it with.

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?

The usage context is implied by "current accumulated" versus historical data, but there is no explicit when-to-use statement, no exclusion of alternatives like get_points_history or get_best_card_for_purchase, and no preconditions such as needing the card to already exist.

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