Skip to main content
Glama

Space AI — Hallucination Detection & Space Rank

check_balance

Check remaining prepaid USD credits for a Space AI API key, or pass checkout_session_id from create_payment_link to retrieve your API key once Stripe payment completes. Read-only.

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": "check_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoOptional Space AI API key to inspect (defaults to Authorization header key).
checkout_session_idNoOptional Stripe checkout_session_id (cs_...) from create_payment_link to claim your API key after paying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden and does state 'Read-only,' which is the most important safety fact. It also discloses that the second mode returns an API key once Stripe payment completes, but says nothing about behavior when payment is pending, whether claiming is idempotent or one-time, or what errors look like — meaningful gaps for an operation that hands back a credential.

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 covers both modes followed by a short 'Read-only.' tag — no filler. The dual-mode construction makes the sentence dense, but every clause carries information an agent needs.

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?

For a two-optional-parameter tool with no annotations and no output schema, the description should say what a balance response contains and what the claim mode actually returns. It covers invocation fully but leaves return shape and payment-pending edge cases unexplained, so an agent knows how to call it but not exactly what to expect back.

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 coverage is 100%, so the baseline is 3, but the description goes beyond the schema by explaining the provenance and timing of checkout_session_id ('from create_payment_link ... once Stripe payment completes') and the defaulting behavior of api_key implicitly. That linkage is the kind of cross-tool meaning the schema alone cannot convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Check remaining prepaid USD credits for a Space AI API key') and then names a second, clearly delineated mode keyed on checkout_session_id. It also names the sibling tool that produces that parameter (create_payment_link), so an agent can distinguish the two operations without opening either schema.

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

Usage Guidelines4/5

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

Explicitly gives the condition for each mode: call with no arguments (or an api_key) to inspect credits, or pass a checkout_session_id from create_payment_link after payment completes to claim the key. It does not state exclusions, such as what to do if payment has not yet settled, so it stops short of a full when/when-not rubric.

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