Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Get plan and credit balance

get_billing
Read-onlyIdempotent

Check the plan and credits left (plan credits this month, free trial, purchased) before planning paid runs, or after a 402 refusal. Also says whether Core is billed monthly or annually and when it renews or ends (subscription), and whether the free trial has ended and needs a card (offer.payment_needed). A Developer workspace with a saved card is billed monthly for what it uses (extra_credits.billed_after_use). Changing, cancelling or resuming the plan is done by a person on the billing page (billing_url); share that link rather than trying it yourself. Read-only; never returns payment details.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description still adds real value on top by promising it 'never returns payment details' and by mapping response sections to their meaning. The instruction to share billing_url instead of attempting plan changes is behavioral guidance an agent could not derive from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and trigger are front-loaded correctly, but the single dense paragraph packs parenthesized field paths (offer.payment_needed, extra_credits.billed_after_use) into prose, which reads like schema restatement rather than guidance. It is information-dense but not well-structured; bullet separation of 'when to call', 'what it returns' and 'what it cannot do' would earn its place better.

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?

An output schema exists, so return values need not be fully specified, yet the description still flags the salient sections an agent must reason about. With zero parameters and full annotation coverage, nothing essential for correct invocation is missing; only the crammed formatting keeps it from being exemplary.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters (schema is an empty object with additionalProperties false), so there is nothing for the description to disambiguate. Baseline for a zero-parameter tool is a 4; the description earns the top mark by instead spending its words on what the call returns and when to make it.

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?

Opens with a specific verb and resource ('Check the plan and credits left') and enumerates the credit categories returned (plan credits this month, free trial, purchased). It goes on to name the concrete sub-fields (subscription, offer.payment_needed, extra_credits.billed_after_use), so an agent knows exactly what this returns versus a generic account or usage probe.

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

Usage Guidelines5/5

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

States both trigger conditions explicitly: 'before planning paid runs, or after a 402 refusal' – the second is a precise, actionable routing rule. It also draws a hard boundary around what this tool cannot do (changing, cancelling or resuming the plan) and redirects that work to a human on the billing page rather than leaving the agent to try alternatives.

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