Skip to main content
Glama

Get credits

get_credits
Read-only

The workspace's credits left, before you plan or agree to media spend. unlimited means no credits limit spending and prices are for reference, since nothing is deducted; still ask your human before generate. blocked says why it can spend nothing now, and fix who can add more.

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

A3.7/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds useful interpretation of the two notable return states: 'unlimited' means nothing is deducted and prices are reference-only, and 'blocked' explains why no spend is possible. It does not describe the numeric or partial-credit case, so it adds context but not full behavioral coverage.

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 purpose is front-loaded and every clause gestures at real information, but the grammar is broken ('blocked says why it can spend nothing now, and fix who can add more'), forcing the reader to reconstruct the meaning. Two of the four clauses cost more effort than they return.

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 zero-parameter read with no output schema, the description supplies exactly the missing piece: the meaning of the special credit states, plus the human-approval gate before generation. Only the normal numeric-credit case and any response shape details are unaddressed, which is a minor gap.

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 of 4 applies. No misleading parameter claims are present.

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 opening clause 'The workspace's credits left' names the specific resource returned, and the added states (unlimited, blocked) sharpen what the tool reports. The phrasing is ungrammatical in places ('fix who can add more'), which slightly muddies an otherwise identifiable purpose.

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 a concrete trigger — call this before you plan or agree to media spend — and names the downstream action (generate) along with the requirement to ask a human first. There is no explicit 'when not to use' or named alternative among the siblings, so it stops short of a 5.

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