Skip to main content
Glama

Google Ads & Meta Ads

LoomaScale: Check Plan Allowance

loomascale_check_quota
Read-onlyIdempotent

Report the user's remaining LoomaScale allowance for the current period. On account-based plans (starter, business, portfolio) the metered unit is different ad accounts used per billing month — the answer then reports accounts used, the plan's account allowance and when it resets, and tasks are unlimited. The free trial is unlimited on both tasks and ad accounts until it ends. On the free plan of accounts from before the trial it reports tasks: used, limit, remaining and the reset date, where a task is one request in this chat — all the tool calls made to answer a single message count as one. Legacy plans are unlimited. Calling this is free — it never consumes allowance and keeps working after the quota runs out or the trial ends. This is the LoomaScale allowance only, not ad spend, ad account balance, or campaign budget.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planYesWhich allowance applies.
usedYesTasks used in the current quota period.
bonusYesHow much of the limit comes from bonus tasks (e.g. referral rewards). Zero for most accounts; these expire on their own date, not at the period reset.
limitYesTasks the user may run this period: the plan's allowance plus any bonus tasks.
trialYesWhere the account stands in its free trial: none (the trial does not apply, or the account is on a paid plan), pending (starts at the first task), active (tasks and ad accounts unlimited until trialEndsAt), or ended (no plan tasks; only bonus tasks, if any, until the user subscribes).
resetsAtYesISO-8601 instant when the counter resets (end of the account's current 30-day period).
remainingYesTasks left in the current period, never below zero.
unlimitedYesTrue on a legacy plan, an account-based plan (starter, business, portfolio) or during an open free trial, where used and limit are advisory.
trialEndsAtNoISO-8601 instant when the free trial ends, or would end if the first task ran now. Absent when trial is none.
accountsUsedNoDifferent ad accounts used so far in the current billing month. Present only on account-based plans, where this — not tasks — is the metered allowance.
accountsLimitNoDifferent ad accounts the plan includes per billing month. Present only on account-based plans.
accountsResetAtNoISO-8601 instant when the ad-account allowance resets. Present only on account-based plans.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only establish read-only/idempotent/non-destructive; the description adds far more: the call never consumes allowance, is free, and still works after quota exhaustion. It also defines the metered unit per plan (ad accounts vs. tasks vs. unlimited) and explains that all tool calls answering one message count as a single task, which annotations cannot convey.

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?

Purpose is front-loaded in the first sentence, which is good, but the remainder is a long chain of run-on clauses enumerating every plan variant, including one repetitive statement that legacy plans are unlimited. It is dense but not uniformly wasteful given the plan-dependent semantics; still, it could be tightened considerably.

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?

For a no-parameter tool with an output schema, the definition covers everything an agent needs: what is measured, how the metric differs across starter/business/portfolio, trial, free, and legacy plans, reset timing, and the fact that the call itself is free. Return values themselves are left to the output schema, which is the correct division of labor.

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?

There are zero parameters, so the baseline is 4; nothing about parameter meaning needs explaining. The description still frames what the (parameterless) answer varies on — plan type — which is a small bonus rather than a requirement.

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?

Opens with a specific verb and resource: 'Report the user's remaining LoomaScale allowance for the current period.' It also explicitly fences off adjacent concepts (ad spend, ad account balance, campaign budget), so the agent can separate it from billing/pacing siblings without opening any schema.

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 clear usage context: call it to learn remaining allowance, it is free, and it keeps working after the quota is exhausted or the trial ends — which resolves the main 'should I call this when blocked?' ambiguity. It does not name an alternative tool or state an explicit when-not, so it stops short of a 5.

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