Skip to main content
Glama

Check credit balance & usage

get_my_usage
Read-only

Check the user's current credit balance: plan tier, daily + monthly limits per credit type (validate, discover, db, profile, logo, enrich, submit), used today, remaining today, used this month, remaining this month, and any never-expiring credit pack balance. Free to call (does NOT charge a credit): call before any expensive batch (e.g. 100x discover_email) so the user knows whether they need to top up first. If they're low or ask to buy more, follow up with list_credit_packs to get pricing + a checkout URL. Requires Bearer auth; anonymous callers get a 401 with a signup link. Needs a StartupHub.ai API key with credit (pay as you go).

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_my_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses that the call does not consume a credit, that Bearer auth is required, that anonymous callers receive a 401 with a signup link, and that a funded StartupHub.ai API key is needed. These are failure-mode and cost details an agent cannot infer from annotations alone.

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?

Front-loads what is returned, then moves to cost, then usage guidance, then auth requirements — a sensible order with no filler sentences. The credit-type enumeration (validate, discover, db, profile, logo, enrich, submit) is long but earns its place by telling the agent what keys to expect.

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?

There is no output schema, so the description carries the burden of describing the return value, and it does so field by field. Combined with auth behavior, cost semantics, and the follow-up path, an agent has everything needed to call this correctly on the first try.

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 schema already reflects the no-arg shape. It adds the useful implicit point that results are scoped to the authenticated user, though it does not dwell on it.

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?

Opens with a specific verb+resource ("Check the user's current credit balance") and then enumerates exactly what the response contains: plan tier, per-credit-type daily/monthly limits, used/remaining today and this month, and credit pack balance. That level of specificity makes it unmistakable against siblings like spend_limits or list_credit_packs.

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?

Gives explicit when-to-use guidance ("call before any expensive batch (e.g. 100x discover_email)") and an explicit next step when the answer is low ("follow up with list_credit_packs to get pricing + a checkout URL"). It also states the call is free, which is the key selection signal versus paid operations.

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