Skip to main content
Glama

Account and balance

get_account
Read-onlyIdempotent

Returns the organisation's credit balance by source, plan, per-action prices and rate limit, and for an agent key its monthly budget and per-order cap. Use it before quoting a large order, or when a spend is refused, to see what remains. Free; it needs a token with account:read. Top-ups happen on mydatahub.emailmovers.com, never inside a tool. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
keyYesThe calling key and, for an agent key, its budget; null for a person.
demoYesA demo organisation: everything runs in test mode, nothing is charged, order records are invented, and it stops working at expires_at. null for a real account.
modeYeslive keys (mdh_live_) spend real credits; test keys (mdh_test_) return synthetic data and never charge.
planYes
userYesThe signed-in person; null when the caller is an API key.
pricesYesWhat each action costs in credits.
balanceYesCredits by source.
agreementsYesThe Terms of Sale (accepted at sign-up; accepted: null for an organisation Emailmovers set up), the Data Licence and Sharing Agreement (the licence: accepted with every order, or with an agent key that orders on its own) and the Article 28 DPA (accepted with the first suppression list).
rate_limitYes
organisationYes
gbp_per_creditYesYour plan's price per credit, plus VAT (VAT is not included in this figure).
account_managerYesThe named person behind Talk to us.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / gbp_per_credit / description
      Previous value: -"Your plan's price per credit, excluding VAT."New value: +"Your plan's price per credit, plus VAT (VAT is not included in this figure)."
  2. Changed8 schema fields changed
    • addedOutput schema / $defs / Agreement / properties / accepted_version
      Added value: +{
      +  "description": "The latest version accepted, accepted.version; null when none was.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / Agreement / properties / in_force
      Added value: +{
      +  "description": "Whether the version accepted is the version in force. false when none was accepted, or an older one.",
      +  "type": "boolean"
      +}
    • changedOutput schema / $defs / Agreement / required
      Previous value: -[
      -  "name",
      -  "version",
      -  "url",
      -  "accepted"
      -]New value: +[
      +  "name",
      +  "version",
      +  "url",
      +  "accepted",
      +  "accepted_version",
      +  "in_force"
      +]
    • changedOutput schema / properties / agreements / description
      Previous value: -"The Data Licence and Sharing Agreement (accepted with every order, or with an agent key that orders on its own) and the Article 28 DPA (accepted with the first suppression list)."New value: +"The Terms of Sale (accepted at sign-up; accepted: null for an organisation Emailmovers set up), the Data Licence and Sharing Agreement (the licence: accepted with every order, or with an agent key that orders on its own) and the Article 28 DPA (accepted with the first suppression list)."
    • addedOutput schema / properties / agreements / properties / terms
      Added value: +{
      +  "$ref": "#/$defs/Agreement"
      +}
    • changedOutput schema / properties / agreements / required
      Previous value: -[
      -  "dlsa",
      -  "dpa"
      -]New value: +[
      +  "terms",
      +  "dlsa",
      +  "dpa"
      +]
    • addedOutput schema / properties / demo
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "expires_at": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "expires_at"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A demo organisation: everything runs in test mode, nothing is charged, order records are invented, and it stops working at expires_at. null for a real account."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "organisation",
      -  "user",
      -  "mode",
      -  "plan",
      -  "balance",
      -  "prices",
      -  "gbp_per_credit",
      -  "rate_limit",
      -  "key",
      -  "account_manager",
      -  "agreements"
      -]New value: +[
      +  "organisation",
      +  "user",
      +  "mode",
      +  "demo",
      +  "plan",
      +  "balance",
      +  "prices",
      +  "gbp_per_credit",
      +  "rate_limit",
      +  "key",
      +  "account_manager",
      +  "agreements"
      +]
  3. 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 bar is lower; the description still adds genuine value by stating the call is free, that the token needs account:read, and that top-ups occur outside the tool so no mutation is possible here. The closing GDPR/PECR sentence is genuine context but pertains to audience selection rather than to reading a balance, so it dilutes rather than deepens the behavioral picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are tight and front-loaded, with use cases ahead of caveats. The final sentence on UK GDPR Article 6(1)(f) and PECR corporate-subscriber defaults is boilerplate unrelated to reading a credit balance and does not earn its place in this definition.

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?

For a zero-parameter read with a rich annotation set and an output schema, the definition covers what matters: contents, cost, auth scope, and call triggers. The excess is the compliance tangent rather than a missing piece; nothing an agent needs in order to call it correctly is absent.

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 the schema leaves nothing to document and there is no parameter meaning for the description to add. Baseline for a no-param tool applies; the description correctly spends no words on arguments.

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?

Opens with a precise verb and resource and enumerates the returned facets: credit balance by source, plan, per-action prices, rate limit, and agent-key budget/cap. An agent can tell this is the account-state read rather than a catalog listing, though no sibling (e.g. get_plans or quote_order) is named explicitly to draw the boundary.

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?

Gives two concrete triggers: before quoting a large order, and after a spend is refused. That is real when-to-use guidance rather than an implied purpose. It stops short of exclusions, e.g. it never says to prefer get_plans for catalog pricing.

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