Skip to main content
Glama

Get AI credit balance

get_credits
Read-only

The workspace's AI credit balance for Sendhour's studio: the plan's monthly credits (they expire at the end of each monthly period), extra credits (bought packs never expire, so their expires_at is null; credits given or refunded by Sendhour have an expiry date) and the monthly allowance. Credits are spent in the Sendhour app's studio.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine domain context — that monthly credits expire each period, purchased packs never expire (expires_at null), and gifted/refunded credits do expire — which helps interpret the result. It does not describe the response shape or any limits, so a 3 is right.

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?

The resource is front-loaded, which is good, but the single sentence is long and parenthetical-heavy, with mild redundancy between 'the plan's monthly credits' and 'the monthly allowance'. It is readable but would be tighter as a short list of the credit categories.

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?

With no output schema, the description carries responsibility for explaining what comes back; it covers the three credit categories and expiry semantics but never indicates the response structure or field names beyond expires_at. Adequate for a zero-param read, but not fully self-sufficient.

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; the baseline for a no-param tool applies. Nothing is misleading or missing on this dimension.

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 names the exact resource — the workspace's AI credit balance for the studio — and the title reinforces it as a read of that balance. No sibling in the catalog deals with credits, so differentiation is implicit rather than stated, which keeps it just below a 5.

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 guidance on when to call this (e.g., before scheduling, to check remaining allowance) and no alternatives or exclusions mentioned. The purpose implies a status-check use case, but the agent must infer that entirely.

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