Skip to main content
Glama

YourAITools MCP Hub

Credits: Credits key balance

credits_balance
Read-onlyIdempotent

Returns the remaining balance, spend and recent calls of a YourAITools credits key (yatc_...).

[Credits via YourAITools MCP Hub] Free tier: same as Credits's own MCP server (call without payment and without tier). Free.

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": {
      "key": "<key>"
    },
    "name": "credits_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesCredits key (yatc_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / key / examples
      Added value: +[
      +  "yatc_<your credits key>"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description usefully adds what is actually returned (balance, spend, recent calls) given there is no output schema, but the second paragraph is promotional boilerplate that adds no behavioral fact beyond 'no payment required'. It says nothing about failure behavior for an invalid or expired key, which is the main behavioral risk in a credential-based lookup.

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

Conciseness2/5

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

The first sentence is tight and correctly front-loaded. Everything after it is vendor boilerplate — 'same as Credits's own MCP server' is self-referential to the point of being unparseable, and the sentence ends with a dangling duplicate 'Free.' — so a meaningful share of the text fails to earn its place.

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 tool with no output schema, the description is sufficient: it names the credential type, the required key format, and the values returned, and annotations cover the safety profile. The remaining gap is the missing relationship to 'credits_quote', which is a routing concern rather than a completeness-of-usage one.

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?

With one parameter at 100% schema description coverage, the schema already documents that 'key' is a credits key in yatc_... form. The description restates the same format and adds nothing about key scoping, validity, or what happens with a malformed key. Baseline 3 applies when the schema carries the parameter burden.

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 first sentence gives a specific verb and resource ('Returns the remaining balance, spend and recent calls') plus the credential type ('YourAITools credits key (yatc_...)'), which is enough to know exactly what the tool produces. It does not, however, distinguish itself from the sibling 'credits_quote', so an agent cannot tell from the description alone which of the two to pick for pricing vs. balance.

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 statement of when to call this versus alternatives, no prerequisites, and no exclusion. The obvious alternative, 'credits_quote', is never mentioned even though it is the most likely source of confusion. The only usage-adjacent text is a free-tier note that does not help select the tool.

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