Skip to main content
Glama

Check Stripe connection

stripe_check_connection
Read-onlyIdempotent

Verify a Stripe API key by reading the account balance and report whether the connection works, is live or sandbox, and why it failed.

Instructions

Check that the key works, by reading the balance. Returns whether the connection works and whether it is live or in a sandbox (test mode). On failure the error says why (key rejected, permission missing, Stripe unavailable).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stripe_check_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavior: the check is implemented as a balance read, it reports live vs test/sandbox mode, and failure errors categorize the cause (rejected key, missing permission, Stripe unavailable). That mode-reporting and error taxonomy is exactly the context annotations cannot convey.

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?

Three short sentences: mechanism first, then return semantics, then failure semantics. Front-loaded and free of filler, though 'Check that the key works, by reading the balance' is slightly redundant with 'Returns whether the connection works'.

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?

There is no output schema, so the description has to describe return values, and it does: a boolean-style connectivity result, a live/test mode indicator, and error causes on failure. For a zero-parameter, single-purpose probe this is close to complete; only the exact response shape 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?

The tool takes no parameters at all, so the baseline is 4 and nothing in the description needs to compensate. No parameter wording is present or required.

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 gives a specific verb and check ('Check that the key works, by reading the balance') and names the mechanism, so an agent knows this is a credential/connectivity probe rather than a data fetch. It does not explicitly contrast itself with the sibling stripe_get_balance, which reads the same endpoint for actual balance data, so differentiation is implied rather than stated.

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 only implied: an agent can infer this is a pre-flight validation step before other Stripe calls, but the description never says when to call it, when to skip it, or that stripe_get_balance exists for retrieving actual balance figures. No exclusions or alternatives are offered.

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