Skip to main content
Glama

Get Credit Balance

get_balance
Read-onlyIdempotent

The credit balance of your account, its latest credit movements, and a link to the checkout page for more credits on sanctionlistcheck.com. This tool is free to use.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "credits_balance": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "effective_retention_hours": {
      -        "description": "min(retention_days x 24, the service cap).",
      -        "type": "integer"
      -      },
      -      "email": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "key_prefix": {
      -        "type": "string"
      -      },
      -      "ledger": {
      -        "description": "The 10 newest credit changes, newest first.",
      -        "items": {
      -          "properties": {
      -            "created_at": {
      -              "type": "string"
      -            },
      -            "delta": {
      -              "type": "integer"
      -            },
      -            "reason": {
      -              "description": "refund: a failed screen's credits given back (positive). pack_refund: pack credits taken back after a payment refund or chargeback (negative).",
      -              "enum": [
      -                "free_grant",
      -                "screen",
      -                "pack",
      -                "refund",
      -                "pack_refund",
      -                "admin"
      -              ],
      -              "type": "string"
      -            },
      -            "ref": {
      -              "description": "Record id (screen, refund), Paddle transaction id (pack) or Paddle adjustment id (pack_refund).",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "delta",
      -            "reason",
      -            "ref",
      -            "created_at"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "type": "array"
      -      },
      -      "rate_limit_per_minute": {
      -        "type": "integer"
      -      },
      -      "retention_days": {
      -        "description": "Days a record keeps names and hits. Default 90.",
      -        "maximum": 365,
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "key_prefix",
      -      "credits_balance",
      -      "retention_days",
      -      "effective_retention_hours"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "error": {
      -        "const": "rate_limited",
      -        "type": "string"
      -      },
      -      "limit_per_minute": {
      -        "type": "integer"
      -      },
      -      "retry_after_seconds": {
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "limit_per_minute",
      -      "retry_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "details": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "description": "Machine-readable error code.",
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "record_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "buy_url": {
      +        "description": "The checkout page on sanctionlistcheck.com for this key: it lists the credit packs. The link works for 24 hours.",
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "credits_balance": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "effective_retention_hours": {
      +        "description": "min(retention_days x 24, the service cap).",
      +        "type": "integer"
      +      },
      +      "email": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key_prefix": {
      +        "type": "string"
      +      },
      +      "ledger": {
      +        "description": "The 10 newest credit changes, newest first.",
      +        "items": {
      +          "properties": {
      +            "created_at": {
      +              "type": "string"
      +            },
      +            "delta": {
      +              "type": "integer"
      +            },
      +            "reason": {
      +              "description": "refund: a failed screen's credits given back (positive). pack_refund: pack credits taken back after a payment refund or chargeback (negative).",
      +              "enum": [
      +                "free_grant",
      +                "screen",
      +                "pack",
      +                "refund",
      +                "pack_refund",
      +                "admin"
      +              ],
      +              "type": "string"
      +            },
      +            "ref": {
      +              "description": "Record id (screen, refund), Paddle transaction id (pack) or Paddle adjustment id (pack_refund).",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "delta",
      +            "reason",
      +            "ref",
      +            "created_at"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "packs": {
      +        "properties": {
      +          "checkout": {
      +            "description": "Present only without Authorization.",
      +            "type": "string"
      +          },
      +          "credit_unit": {
      +            "type": "string"
      +          },
      +          "credits_expire": {
      +            "const": "never_while_key_active",
      +            "type": "string"
      +          },
      +          "packs": {
      +            "items": {
      +              "properties": {
      +                "checkout_url": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "credits": {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                },
      +                "id": {
      +                  "enum": [
      +                    "starter",
      +                    "growth",
      +                    "scale"
      +                  ],
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "price": {
      +                  "properties": {
      +                    "amount": {
      +                      "examples": [
      +                        "15.00"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "amount_minor": {
      +                      "type": "integer"
      +                    },
      +                    "currency": {
      +                      "const": "EUR",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "amount",
      +                    "amount_minor",
      +                    "currency"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "credits",
      +                "price",
      +                "checkout_url"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "purchase": {
      +            "const": "one_time",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "purchase",
      +          "credits_expire",
      +          "packs"
      +        ],
      +        "type": "object"
      +      },
      +      "rate_limit_per_minute": {
      +        "type": "integer"
      +      },
      +      "retention_days": {
      +        "description": "Days a record keeps names and hits. Default 90.",
      +        "maximum": 365,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "key_prefix",
      +      "credits_balance",
      +      "retention_days",
      +      "effective_retention_hours"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "const": "rate_limited",
      +        "type": "string"
      +      },
      +      "limit_per_minute": {
      +        "type": "integer"
      +      },
      +      "retry_after_seconds": {
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "limit_per_minute",
      +      "retry_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "details": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "description": "Machine-readable error code.",
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "record_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful context by stating the tool is free and that it returns recent credit movements plus a checkout link, but it does not mention authentication requirements or any rate limits.

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?

The description is two short sentences with no wasted words. The core content, balance and movements, is front-loaded, and the free-to-use note is a useful secondary detail.

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 zero-parameter read-only tool with a complete output schema and full annotation coverage, the description is largely complete. It covers what is returned and the cost, though it omits any authentication or account-context expectations.

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 zero parameters, so there is no parameter semantics to document. The description neither adds nor detracts from the empty schema, and the baseline for a zero-parameter tool is appropriate.

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 specifies the resource and the exact contents returned: account credit balance, latest credit movements, and a checkout link. It is clear enough to distinguish this tool from the unrelated siblings, though it phrases the purpose as a noun phrase rather than an explicit action verb.

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

Usage Guidelines2/5

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

The description offers no explicit when-to-use or when-not-to-use guidance and does not name any alternative tool. 'This tool is free to use' is cost information, not usage guidance, so the agent must infer the appropriate context from the content alone.

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