Skip to main content
Glama

Check spending limits

meta_get_spend_limits
Read-onlyIdempotent

Can these ad accounts still spend? For every connected account (or account_ids): spending limit (spend_cap), amount spent against it, remaining, percent used, daily spend limit when Meta reports one, balance due, payment method, status and disable reason, with flags near_cap, cap_reached, account_disabled and billing_issue and a one-line reason. Use it for "why isn't this account spending" and "which accounts are near their spending limit". Money is in currency units. summary comes first; flagged accounts are sorted first.

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

Input Schema

NameRequiredDescriptionDefault
account_idsNoAd account ids (act_… or bare digits). Default: every connected account
threshold_pctNonear_cap from this percent of spend_cap used (default 80)

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?

The annotations already declare this as read-only, idempotent, open-world, and non-destructive, and the description adds substantial behavioral context beyond them: the returned fields, flag meanings, sorting behavior ('summary comes first; flagged accounts are sorted first'), and currency units. This is unusually transparent for an output-schema-less read tool.

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?

The core question and scope are front-loaded, and the dense enumeration of returned fields is warranted because there is no output schema. The long semicolon-linked sentence is slightly harder to scan than a more structured list, so it is efficient but not maximally concise.

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?

With no output schema, the description carries the burden of explaining return values, and it does so comprehensively: spending cap fields, flags, status, sorting, and currency units. Combined with full parameter coverage and annotations covering safety semantics, an agent has enough information to call and interpret this tool correctly.

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?

Schema description coverage is 100%, so the schema already documents account_ids and threshold_pct fully, including defaults and the meaning of threshold_pct. The description restates the account_ids default and mentions near_cap, but adds little parameter-level meaning beyond the schema, making the baseline 3 appropriate.

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?

The description opens with a specific question, 'Can these ad accounts still spend?', and clearly defines both the resource (connected ad accounts or account_ids) and the returned spending-limit/status information. It lets an agent distinguish this from a general account fetch or alert query by naming concrete spending-limit and non-spending diagnostic use cases.

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?

It gives two explicit use cases: 'why isn't this account spending' and 'which accounts are near their spending limit', plus the default scope of every connected account. It does not state when not to use it or name a specific sibling alternative, so it falls short of full routing guidance.

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.