Skip to main content
Glama

Apumail — Email & SMS for AI Agents

sms_credit_balance

Check the account's prepaid SMS send credit — returns the balance (cents + USD), the per-send price, and the minimum top-up. Every send (with or without a number) debits this balance; receiving is free. Authenticated with an account API token (acct_…). Top up via the REST pay rails (api.apumail.com/api/v1/sms/credit/pay-usdc|pay-prowl) which require an in-wallet signature.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_token": "<account_token>"
    },
    "name": "sms_credit_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_tokenYesYour account API token (acct_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and discloses the cost model (every send debits, receiving free), the auth mechanism (account API token acct_…), and the fact that top-up happens outside the MCP tool via REST endpoints requiring an in-wallet signature. That is substantial behavioral context beyond the structured data.

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?

Purpose and return values are front-loaded in the first sentence, and the remaining sentences each add new information (billing model, auth, top-up path). The final clause listing raw pipe-delimited REST endpoints is slightly verbose for a tool description, though still relevant.

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?

No output schema exists, so describing the return values (cents + USD, per-send price, minimum top-up) in the description is exactly right and covers what an agent needs. For a one-parameter read tool, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter at 100% schema coverage, with the schema already documenting account_token as the acct_… token. The description merely restates that token format, adding no new semantics, so the baseline of 3 applies.

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?

Uses a specific verb+resource ('Check the account's prepaid SMS send credit') and immediately enumerates what is returned (balance in cents + USD, per-send price, minimum top-up). It also implicitly separates this read-only balance check from the sibling send tools by noting that every send debits the balance.

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?

The description makes clear that this is the tool for inspecting SMS credit and states the debit model, which signals when an agent should check it before sending. It also redirects top-ups to the REST pay rails, telling the agent that no in-catalog top-up tool exists, though it does not explicitly say when not to call it.

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