Skip to main content
Glama

Get Credits

get_credits
Read-onlyIdempotent

Reads the current account's available Fotor credit balance.

This is a read-only balance lookup. It does not consume credits, purchase credits, change a subscription, or initiate checkout.

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

Output Schema

NameRequiredDescriptionDefault
creditsYesCurrent account credit balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / credits / title
      Added value: +"Credits"
    • removedOutput schema / properties / top_up_url
      Removed value: -{
      -  "description": "Fotor plans page URL.",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "credits",
      -  "top_up_url"
      -]New value: +[
      +  "credits"
      +]
    • addedOutput schema / title
      Added value: +"CreditsResult"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / credits / description
      Added value: +"Current account credit balance."
    • changedOutput schema / properties / top_up_url / description
      Previous value: -"Configured Fotor page URL."New value: +"Fotor plans page URL."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description still earns credit for naming the concrete business consequences that are absent (no credit consumption, no purchase, no subscription change, no checkout initiation), which is exactly the kind of domain-specific assurance annotations cannot express.

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 short sentences, the core purpose first and the negative scoping second. Every clause either states what is returned or rules out a plausible but wrong expectation, so nothing is padding.

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?

For a zero-argument read tool with rich annotations and an output schema describing the return shape, the description supplies everything an agent needs: what is read, whose balance it is, and what side effects will not occur.

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 no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter schema applies, and the prose introduces no confusing pseudo-inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb ('Reads') and resource ('the current account's available Fotor credit balance'), so it is immediately distinguishable from every sibling, which are task submission and URL/model lookups rather than balance queries.

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 second sentence clearly frames this as a read-only balance lookup and rules out consuming, purchasing, changing a subscription, or initiating checkout, which tells the agent when not to reach for it. It stops short of naming which sibling to use for those excluded actions, so there is no explicit alternative routing.

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