Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Kleap. If you published it, claim ownership there.

Check usage

get_credits
Read-only

Use this when the user asks how much usage they have left or about their plan status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "context": "<context>"
    },
    "name": "get_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesWhy this call, in one short sentence. Used to improve the connector; never include credentials or personal data.

Output Schema

NameRequiredDescriptionDefault
is_paidNo
usage_remainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / credits
      Removed value: -{}
    • addedOutput schema / properties / usage_remaining
      Added value: +{}
  2. First observed

TDQS

A3.8/5.0
Behavior3/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 safety is fully covered and the description adds nothing there. Beyond identifying the subject matter (usage allowance, plan status), it discloses no behavioral traits such as latency, cached values, or whether the figure is live. With annotations and a present output schema, the remaining burden is small, so a 3 is warranted.

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?

One sentence, front-loaded with the routing condition, with zero filler. Nothing could be removed without losing the only guidance the description provides.

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?

For a single-parameter, read-only status tool with full annotations and an output schema, the description covers the one thing structured fields cannot express: when to invoke it. It does not distinguish the adjacent plan-changing sibling or clarify whether the answer reflects live metering, which is the only meaningful gap.

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?

There is a single required 'context' parameter and the schema documents it at 100% coverage, including the warning not to include credentials or personal data. The description says nothing about this parameter and could not usefully add much, so the baseline of 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 and the question it answers: remaining usage and plan status. It is clear enough that an agent can tell it apart from task- or domain-level checks, though it never states the operation in verb+resource form (e.g. 'returns remaining credits'), so it is a usage cue rather than a crisp capability statement.

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?

It gives an explicit trigger condition — the user asks how much usage is left or about plan status — which is exactly the routing rule an agent needs. It stops short of any exclusion or alternative naming, so an agent facing a vague 'what's my account situation' request, or a request to change plans (a sibling's job), gets no disambiguation.

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