Skip to main content
Glama

Keyword Research MCP: Search Volume, CPC, Keyword Difficulty

API credit balance

get_api_credit_balance
Read-onlyIdempotent

API credit balance: prepaid credits left for SEO data calls, amount spent, whether spending is suspended, and the per-call pricing rule. Free; no supplier call.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
packsNoAPI credit packs the account owner can buy, smallest first.
frozenYesTrue when spending is suspended after a refund or dispute.
pricingYes
creditsUrlNoDashboard page where the account owner buys API credits.
historyUrlNoDashboard page listing this account's data calls and costs.
spentMicrosYes
availableUsdYes
creditsNoticeNoLow API credit balance: tell the user once, with this link to add credits. Never open it automatically.
availableMicrosYes
dataCallsEnabledYesFalse until SEO data calls are switched on for this deployment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / creditsNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Low API credit balance: tell the user once, with this link to add credits. Never open it automatically.",
      +  "properties": {
      +    "label": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "label",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / packs
      Added value: +{
      +  "description": "API credit packs the account owner can buy, smallest first.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "url": {
      +        "description": "Page where the account owner confirms this pack in checkout.",
      +        "type": "string"
      +      },
      +      "usd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "usd",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • removedOutput schema / properties / creditsNotice
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Low API credit balance: tell the user once, with this link to add credits. Never open it automatically.",
      -  "properties": {
      -    "label": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "label",
      -    "url"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / packs
      Removed value: -{
      -  "description": "API credit packs the account owner can buy, smallest first.",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "url": {
      -        "description": "Page where the account owner confirms this pack in checkout.",
      -        "type": "string"
      -      },
      -      "usd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "usd",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / creditsNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Low API credit balance: tell the user once, with this link to add credits. Never open it automatically.",
      +  "properties": {
      +    "label": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "label",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / packs
      Added value: +{
      +  "description": "API credit packs the account owner can buy, smallest first.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "url": {
      +        "description": "Page where the account owner confirms this pack in checkout.",
      +        "type": "string"
      +      },
      +      "usd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "usd",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: the call is free of charge and triggers no upstream supplier call, which tells the agent it is cheap in both cost and latency. It does not discuss caching or freshness of the balance value.

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?

A single front-loaded sentence packs the returned fields and the cost/latency caveat with no filler. The leading 'API credit balance:' label is mildly redundant with the title but functions as a scannable anchor rather than waste.

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?

With an output schema documenting the return shape, zero parameters, and rich annotations, the description's burden is small and it meets it: what the tool reports and that it costs nothing. Only the when-to-use signal is absent, which keeps it short of a 5.

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; baseline 4 applies. The description correctly offers no parameter guidance, which is appropriate rather than a gap.

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 names the exact resource (prepaid API credit balance) and enumerates the four facts it exposes: credits remaining, amount spent, suspension status, and per-call pricing rule. An agent can tell this is an account/billing read, distinct in substance from the SEO-data siblings, though no sibling is named explicitly.

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 only implied: 'Free; no supplier call' hints it is safe to call speculatively (e.g., to verify credits before paid SEO queries), but the description never states when to use it or what alternative exists. Nothing misleads, but the agent must infer the check-before-spending workflow.

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