Skip to main content
Glama

My credits

my_credits
Idempotent

Show the credit balance and the "ask every time" setting, or change it.

ask_before_converting=true makes check_price ask the user in the chat before every conversion; false leaves the OK to the app's own approval of convert_to_svg. Change it only when the user asks to. Charges nothing.

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": "my_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
ask_before_convertingNo

Output Schema

NameRequiredDescriptionDefault
codeNoSet when the call could not proceed.
statusNo
messageYesThe reply's text without its IDs and SVG text, for hosts that show only this.
next_actionYesWhat to do next; guidance, never spending permission.
request_keyNo
conversion_idNo
price_creditsNo
credits_chargedNoCredits charged by this call only.
credits_availableNoThe balance afterwards.
retry_after_secondsNo
ask_before_convertingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false and closed-world, so the safety profile is partly covered, yet the description earns credit by disclosing a non-obvious side effect: toggling this flag changes how check_price prompts the user. "Charges nothing" also states there is no cost to invocation. It does not say what a read call returns or whether the change takes effect immediately.

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

Conciseness4/5

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

Four short sentences, front-loaded with the what, then the parameter semantics, then the usage constraint. Nothing is padded, though "false leaves the OK to the app's own approval of convert_to_svg" is dense enough to require a second read.

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?

An output schema exists, so return values need not be described, and with only one optional parameter the surface area is small. The one real omission is the null/omitted case, which is exactly what an agent must know to distinguish a read from a no-op write.

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?

Schema coverage is 0% and the property has no description at all, so the description must carry the full burden — and it does, explaining that true makes check_price ask in chat before every conversion while false defers to the app's approval of convert_to_svg. The gap is the null default: the schema defaults to null but the description never says that omitting the parameter means "just show the current state."

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?

States a concrete verb and resource — credit balance and the "ask every time" setting — and makes the dual read/write nature explicit ("Show ... or change it"). It does not restate the name and an agent can form a clear picture of what the tool touches. It stops short of 5 because the read vs. write modes are blended into one sentence rather than cleanly separated.

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?

"Change it only when the user asks to" is an explicit when-to-use constraint on the mutation path, and "Charges nothing" removes a common reason for hesitation. What is missing is routing guidance toward the siblings: nothing tells the agent that check_price or convert_to_svg should be called instead when the actual goal is pricing or conversion.

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