Skip to main content
Glama

Credits and plan

get_credits
Read-onlyIdempotent

The account's plan and what it costs a month (plan_price, from Narriva's price list), the credit balance, this business's DM replies and text actions left, when credits refill, and whether automatic posting is held for credits. Buying credits or plans is done by the owner in the app.

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
brand_idNoOptional business id from list_brands (default: this connection's business).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuine value on top: it enumerates exactly what data comes back (important since there is no output schema) and rules out any purchase/mutation capability, preventing the agent from expecting a buy action.

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?

Two sentences, front-loaded with the resource and then the returned fields, with no filler. The field list is dense but each item carries information an agent needs to decide whether to call this tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 takes on the job of describing the return payload and does so item by item, plus it notes the purchase boundary. For a simple single-optional-param read tool with full annotation coverage, nothing material is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the single optional brand_id is fully documented there, including the default of 'this connection's business'. The description never mentions brand_id, so it adds no meaning beyond the schema; baseline 3 applies.

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 resource precisely and enumerates the concrete fields returned (plan, plan_price, credit balance, DM replies/text actions remaining, refill timing, auto-posting hold), which is far more specific than the title. It does not, however, distinguish itself from the similarly named get_plans or get_month_plan, so an agent must infer that 'plan' here means the subscription plan rather than a content plan.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the read path for billing/credit status. The one explicit routing statement is negative — 'Buying credits or plans is done by the owner in the app' — which usefully tells the agent not to attempt a purchase, but there is no stated when-to-use relative to get_plans or get_month_plan.

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