Skip to main content
Glama

Show credit balance

get_credits
Read-only

Check the workspace credit balance to confirm remaining lead search and email-finding capacity; sending and replies keep working when credits run out.

Instructions

Show the workspace's credit balance (null when self-hosted with the user's own provider keys, or when credits are off). Searches and email finding stop when it runs out; sending and replies keep working.

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 observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior the annotations cannot convey: the null return under self-hosted/byok or credits-off configurations, and the distinct downstream effects of exhaustion (search and finder blocked, sending and replies unaffected). It does not mention rate limits or the shape of a non-null balance.

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?

Two sentences, front-loaded with the core purpose, then the edge case and operational consequences. No filler, no restatement of the title, and every clause contributes information an agent would otherwise have to guess.

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 and no output schema, the description carries the burden of explaining what comes back, and it does so partially by defining the null case. It does not state the format of a non-null balance (number vs. object) or whether it is per-workspace vs. per-user, leaving a small gap for a zero-parameter tool.

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 the baseline of 4 applies; there is nothing for the description to disambiguate. The description's statement about a null return is the only semantic detail relevant to invocation, and it is covered under behavioral transparency.

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 opens with a specific verb and resource, 'Show the workspace's credit balance', which unambiguously identifies a read of a billing/quota resource. It is easy to tell apart from siblings like get_icp or get_sending_mode since none of them concerns credit consumption. It stops short of a 5 only because there are no near-neighbor tools it needs to be explicitly disambiguated from.

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

Usage Guidelines4/5

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

The description supplies the operative context for calling it: the balance gates searches and email finding but not sending or replies, which tells an agent when a low/zero balance is actionable. It does not give explicit 'call this before doing X' guidance or name any alternative tool, so the when-to-use is inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.