Skip to main content
Glama
Swipe Smart MCP

Swipe Smart MCP

by afzalmukhtar

get_card_description

Retrieve a credit card's description, tier status, and reward details by card ID to evaluate benefits before making a purchase decision.

Instructions

Retrieves the description and key details of a credit card.
Useful for understanding card benefits before making a purchase decision.

Args:
    card_id: The ID of the credit card.

Returns:
    Dictionary with card name, description, tier status, and reward info.

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_id": "<card_id>"
    },
    "name": "get_card_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
card_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 implies a read-only retrieval and lists the return fields, but says nothing about permissions, what happens when card_id is invalid or unknown, or whether the data is cached/live — significant gaps for a tool with zero annotation coverage.

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?

Short and front-loaded: the purpose sentence comes first, then usage, then Args/Returns. The docstring scaffolding is slightly verbose for a single-parameter call but nothing is redundant.

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?

With no output schema, the Returns section usefully names the fields (card name, description, tier status, reward info), which is good. However, error behavior and where to source card_id are unaddressed, leaving gaps for an agent calling this cold.

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%, so the description must compensate. It only restates that card_id is 'The ID of the credit card,' adding no format, valid range, or provenance (e.g., obtain it from get_my_cards). That is close to tautology for the sole required parameter.

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 uses a specific verb and resource: 'Retrieves the description and key details of a credit card.' An agent can distinguish it from mutation siblings like add_credit_card or delete_credit_card, though it does not explicitly differentiate itself from read siblings such as get_card_rules or search_card_info.

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?

'Useful for understanding card benefits before making a purchase decision' gives an implied usage context, but there is no explicit when-to-use/when-not guidance and no named alternative (e.g., get_best_card_for_purchase for choosing a card, get_card_rules for rules). The agent must infer the choice.

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