Skip to main content
Glama

Get credits

get_credits
Read-onlyIdempotent

Balance, current operation costs, buyer currency, public offers and actual account top-up rate. Prices are in currency; no purchase is made.

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_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
buyYes
plansYes
topupYes
balanceYes
currencyYes
sheet_creditsYes
render_creditsYes
pricing_variantYes
upscale_creditsYes
view_polish_creditsYes
product_views_creditsYes
build_from_views_creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description still adds value beyond them by specifying that prices are expressed in currency and that calling it will not initiate a purchase, which is exactly the reassurance an agent needs before invoking a billing-adjacent tool. It does not mention freshness/caching of the balance, but that is a minor omission given the annotations.

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?

One tight sentence with zero filler, and the most important item (balance) is front-loaded. The telegraphic comma-list style lacks a leading verb, which costs a little immediate readability, but nothing in it is wasted.

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?

With no input parameters, a full annotation set, and an output schema that documents the return structure, the description only needed to frame what the tool is for and in what units. It does both. The only gap is the absence of any note on how current the balance is or who it is scoped to.

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 nothing for the description to disambiguate at the argument level; baseline 4 applies. The description instead spends its words on the shape of the returned data, which is the only semantic surface this tool has.

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 enumerates exactly what the tool returns: balance, current operation costs, buyer currency, public offers, and the actual account top-up rate. That makes the resource (credit/billing state) unambiguous even though it is written as a noun list rather than a verb phrase. No sibling in the catalog overlaps with billing, so differentiation is not a concern here.

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?

There is no explicit statement of when to call this versus anything else, and no prerequisites or context such as whether it is per-user or per-workspace. The clause 'no purchase is made' functions as a side-effect disclaimer rather than a when-to-use/when-not-to-use rule. An agent must infer the usage from the field list 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.