Skip to main content
Glama

Datamagnet

Check credit balance

check_credits
Read-onlyIdempotent

Get the current Datamagnet credit balance: remaining, total and used.

Free, and fast. Worth calling before a run that will make many paid calls, and worth calling again if a tool reports running out. Every other tool except the signal tools spends credits, so this is how you find out whether a plan is affordable before starting it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and openWorld; the description adds cost ('Free, and fast') and the crucial economic context that all other non-signal tools consume credits. That's real value beyond structured fields, though it doesn't discuss whether the balance is workspace-scoped or cached/staleness.

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?

What it returns leads, then cost/latency, then the decision guidance. Every sentence earns its place — no filler, no restating the title verbatim.

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?

An output schema exists, so return values needn't be explained, yet the description still names the three figures. For a trivial 0-param tool the description gives everything an agent needs: cost, latency, and when to interleave calls.

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?

Zero parameters, so baseline 4 applies; the description correctly doesn't waste words on inputs and instead explains what the (absent) parameters don't scope, i.e. a single global balance.

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?

States a specific verb and resource ('Get the current Datamagnet credit balance') and enumerates the returned fields (remaining, total, used). It's clearly distinguishable from every sibling, which are all search/get-profile/signal tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use: before a run making many paid calls, and again after a tool reports running out. It also names the exception set ('every other tool except the signal tools spends credits'), which routes the agent correctly against the 18 siblings.

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.