Skip to main content
Glama

Tailwind App

get_account_usage

Read-onlyIdempotent

Use this before a credit- or post-consuming action, especially a bulk one (many generations, connecting an RSS feed with connect_feed, scheduling many Pins), or when the user asks how many credits or posts they have left or when they refill. Returns remaining credits, the monthly allowance and when it resets, plus the post allowance where the plan has one. Free: this read spends nothing.

Read billingSystem, scope and unlimitedScheduling first. When unlimitedScheduling is true (the modular winback plan), scheduling Pins spends no credits, whatever the credit balance says. On modular billing, credits belong to this account and pay for scheduling (one credit per Pin, unless unlimitedScheduling is true) as well as AI generation; postLimit is null. On legacy and Shopify billing, scope is "organization": one credit pool and one post allowance are shared by every account in the organization, so every account reports the same numbers and you must never add them up across accounts. That pool pays for credit-priced features such as AI generation (generate_pins_from_url, generate_pin_copy, and every SmartPin a connected feed drafts) and Turbo, while ordinary scheduling spends postLimit instead of credits.

This is a planning snapshot, not permission. Trial allowances are tracked separately, so zero credits does not mean nothing can be done and a positive balance does not guarantee an action will succeed. When an action is refused anyway, report the refusal it returns. If the user did not say which Pinterest account to use and list_accounts returns more than one, ask the user which account to use before calling this — do not choose for them.

Input Schema

NameRequiredDescriptionDefault
accountIdYesNumeric Tailwind account ID returned by list_accounts

Output Schema

NameRequiredDescriptionDefault
scopeYesWho every value belongs to. "organization": one pool shared by all the organization's accounts, reported identically on each. "account": this account alone.
creditsYes
postLimitYesThe post allowance ordinary scheduling spends on legacy and Shopify billing, for the current usage period only. Null when the billing system does not meter posts (modular).
billingSystemYesWhich billing system the account's organization is on
unlimitedSchedulingYesTrue when the account is on the modular winback plan, which schedules Pins without spending credits while reporting zero monthly credits. Credits still pay for AI generation. Always false on legacy and Shopify billing: there, read postLimit, which covers the current usage period only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark it readOnly/non-destructive, and the description reinforces this with 'Free: this read spends nothing' — consistent, not contradictory. It adds behavior the annotations cannot: how credits are scoped per billing system (modular vs legacy/Shopify organization-wide pools that must never be summed), that unlimitedScheduling nullifies credit consumption, that postLimit is null on modular billing, and that this is a planning snapshot rather than an authorization check.

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-loads the trigger condition before the billing nuance, and every clause is substantive. It is nonetheless long for a single-parameter read tool, and the instruction to 'read billingSystem, scope and unlimitedScheduling first' is slightly ambiguous about whether those values come from this call or from get_account.

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?

Output schema exists, yet the description still summarizes the payload (credits, allowance, reset, postLimit) so an agent knows what it will get. Given the genuine complexity of multiple billing models, it supplies the interpretation rules an agent needs to avoid misreading the numbers, and the annotations cover the safety profile.

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%, and the schema already explains that accountId comes from list_accounts, so the baseline is 3. The description adds real meaning beyond that: it explains the account-scoping consequence (legacy/Shopify accounts share one pool and report identical numbers) and prescribes asking the user when multiple accounts exist, which materially affects how accountId should be chosen.

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?

States a specific verb (returns/reports) and resource (remaining credits, monthly allowance and reset date, post allowance) rather than restating the name. It distinguishes itself from get_account/list_subscriptions by framing the output as a credit-and-post planning snapshot, and names related actions (connect_feed, scheduling Pins) that consume the resources it reports.

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

Usage Guidelines5/5

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

Gives explicit when-to-use conditions: before any credit- or post-consuming action, especially bulk ones, or when the user asks how many credits/posts remain and when they refill. It also gives an explicit procedural guardrail — ask the user which account when list_accounts returns more than one — rather than letting the agent pick.

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