Skip to main content
Glama

List Plan Quotas

list_plan_quotas
Read-onlyIdempotent

List usage-quota metrics with their kind, so your code reports against the exact metric names the plans use instead of guessing them. With planKey (e.g. "pro"): that plan's quotas. Without planKey: every metric configured on any plan, once each, with the plans that limit it. Each quota has: metric (the key your code reports against, e.g. "num.clicks"), kind ("counter" = summed per billing period and reset each period; "gauge" = an absolute value the app sets, never reset — If deleting it frees room, it's a gauge and your app counts it; if it happened, it's a counter and Bridge counts it.), limit (integer; 0 means pure per-unit metered billing from the first unit), policy ("hard" = the cap blocks, "metered" = overage is billed), for metered quotas pricing { amount, currency }, source ("membership" when Bridge counts the workspace's active members, e.g. an app's seats limit; absent when the app reports the metric), and reportWith — how the app keeps the metric current. Use this when wiring quota checks or usage reporting; set_plan_quota changes one. Fails with PLAN_NOT_FOUND when no plan has the given key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoId of the Bridge app to act on for this call (see list_apps). Omit to use the current app.
planKeyNoPlan key. Omit to list every metric across all plans.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, yet the description adds real behavioral detail: the dedup rule ('every metric ... once each, with the plans that limit it'), the semantic meaning of kind counter vs gauge, limit=0 meaning pure metered billing, policy hard vs metered, and the PLAN_NOT_FOUND failure mode. This is substantial context beyond the structured fields.

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 the two modes are front-loaded, and every clause is informative. The dense parenthetical explaining kind and the return-field enumeration make it longer than strictly necessary, but the content largely earns its space.

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?

There is no output schema, so the description properly carries the return-value burden, enumerating each quota field (metric, kind, limit, policy, pricing, source, reportWith) and its meaning, plus the error case. An agent has everything needed to call and interpret it.

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%, so the baseline is 3, but the description meaningfully enriches planKey by explaining the shape of results in each presence/absence case and giving an example value ('pro'). The app parameter is not elaborated in the description, but the schema already documents it.

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 and resource ('List usage-quota metrics with their kind') and immediately contrasts the two modes: with planKey returns that plan's quotas, without planKey returns every metric deduplicated across plans. It explicitly names the sibling it is not ('set_plan_quota changes one'), so an agent can separate read from write without opening a 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 ('Use this when wiring quota checks or usage reporting') and routes to the mutation alternative (set_plan_quota). It does not state explicit when-not conditions beyond naming the read/write split, so it falls just short of the 5-level 'explicit when/when-not/alternatives' bar.

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.