Skip to main content
Glama

Manage Bet Codes

Check Account, Plan, Credits & Recent Charges

mbc_get_usage
Read-onlyIdempotent

Read the caller's account, plan, current key, and charge_order, API credits (monthly plan plus never-expiring packs), regular credits (5 lifetime on Free, daily on paid tiers), paginated recent charges, rate limit windows, daily spend, and active jobs and tracks. Costs 0 credits. recent_charges is paginated: pass charges_limit (1-100) and charges_offset, and use next_offset to fetch the next page.

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

Input Schema

NameRequiredDescriptionDefault
charges_limitNoRecent charge rows per page. Default 20, maximum 100.
charges_offsetNoRow offset into recent charges. Default 0.

Output Schema

NameRequiredDescriptionDefault
jobsNo
keysNo
planNo
dailyNo
tracksNo
accountNo
api_creditsNo
rate_limitsNo
charge_orderNo
recent_chargesNo
regular_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / charges_limit
      Added value: +{
      +  "description": "Recent charge rows per page. Default 20, maximum 100.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / charges_offset
      Added value: +{
      +  "description": "Row offset into recent charges. Default 0.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / account
      Added value: +{
      +  "properties": {
      +    "created_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "email_masked": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / daily
      Added value: +{
      +  "type": "array"
      +}
    • addedOutput schema / properties / jobs
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / keys
      Added value: +{
      +  "type": "array"
      +}
    • addedOutput schema / properties / recent_charges
      Added value: +{
      +  "properties": {
      +    "items": {
      +      "type": "array"
      +    },
      +    "limit": {
      +      "type": "integer"
      +    },
      +    "next_offset": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "offset": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / regular_credits / properties
      Added value: +{
      +  "limit": {
      +    "type": "integer"
      +  },
      +  "period": {
      +    "enum": [
      +      "lifetime",
      +      "daily"
      +    ],
      +    "type": "string"
      +  },
      +  "remaining": {
      +    "type": "integer"
      +  },
      +  "resets_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "used": {
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / properties / tracks
      Added value: +{
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine context beyond that: the zero-credit cost, the distinction between monthly plan credits and never-expiring packs, the 5-lifetime vs daily regular credits rule, and the pagination flow via next_offset. It does not mention auth/permission requirements, but this is otherwise strong added value.

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-loaded with the resource inventory, then a separate sentence for the pagination mechanic, which is the only part requiring action. The enumeration is dense but each item names a distinct returned field, so little is wasted; the parenthetical credit explanations are the only slightly bulky spots.

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 the description need not enumerate return shapes, and it correctly focuses on what the payload contains and how to page it. Combined with the annotations covering the safety profile and the schema covering parameters, an agent has what it needs to call this correctly. Minor gap: no signal about what happens when the account has no charges or jobs.

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 100%, so the baseline is 3 and the schema already documents both parameters including their ranges and defaults. The description goes slightly further by explaining how charges_limit and charges_offset combine with the returned next_offset to page through results, which is a semantic link the schema cannot express.

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 description gives a specific verb ('Read') and an explicit inventory of what is returned: account, plan, current key, charge_order, API credits, regular credits, recent charges, rate limits, daily spend, and active jobs/tracks. It is far more specific than the title alone. It does not differentiate itself from siblings such as mbc_get_jobs or mbc_get_bankroll, which overlap with the 'active jobs and tracks' and 'credits' portions.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the account-status/dashboard call, and 'Costs 0 credits' signals it is free to call. There is no explicit when-to-use or when-not-to-use guidance, and no routing to mbc_get_jobs or mbc_get_bankroll for the overlapping subsets.

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.