Skip to main content
Glama

asksteps: read the account's plan and what is used of it

asksteps_get_subscription
Read-onlyIdempotent

Returns the connected account's plan, its trial state and every quota with how much of it is used. Requires "billing:read". Call this whenever something was refused for a limit — it answers 'why can I not do this' in one call. Read capability questions from effectivePlanCode and the quotas, NOT from planCode: during a trial the two differ on purpose. It also tells you whether an agent may change this plan at all (field "mandate").

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYesOne sentence for the user.
quotasNoEvery quota of the account with its limit and what is used of it.
statusYesOutcome. One of: "ok", "not_connected", "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "permission_denied" (the connected user's role lacks the permission; the note names it), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do.
mandateNoWhether an agent may change this account's plan, and within which limits. When mandate is absent, use asksteps_start_checkout and let the user finish it.
intervalNoBilling interval: "month" or "year".
planCodeNoPlan code of the booked subscription: "free", "starter", "professional", "business".
planNameNoDisplay name of that plan.
trialEndsAtNoWhen a running trial ends, ISO 8601. Empty when there is no trial.
effectivePlanCodeNoThe plan whose limits actually apply right now. During the trial this DIFFERS from planCode: the customer is billed for the trial plan but entitled to a higher one. Answer "can I do X" from this field, not from planCode.
subscriptionStatusNoSubscription state: "trialing", "active", "past_due", "canceled", "incomplete".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Outcome. One of: \"ok\", \"not_connected\", \"error\". Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"owner_required\" (only the account owner may do this), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."New value: +"Outcome. One of: \"ok\", \"not_connected\", \"error\". Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"permission_denied\" (the connected user's role lacks the permission; the note names it), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered; the description goes beyond that by stating the required 'billing:read' scope and by warning that effectivePlanCode and planCode deliberately diverge during a trial. The note about the 'mandate' field telling whether an agent may change the plan is exactly the kind of behavioral context annotations cannot carry.

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 what-it-returns statement is front-loaded, followed by the auth requirement, the usage trigger, and two field-reading caveats — each sentence earns its place. It is slightly dense, mixing invocation guidance with output-interpretation advice, but nothing is redundant.

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 zero-parameter read tool with an output schema and full annotations, the description supplies everything an agent needs: what it returns, the auth prerequisite, when to reach for it, and how to interpret the two plan-code fields. Nothing material is missing.

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 there is nothing to disambiguate and the baseline of 4 applies. The description instead spends its words on how to interpret returned fields, which is value the empty input schema cannot provide.

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 first sentence names a specific verb and resource set — the account's plan, trial state, and per-quota usage — which an agent can immediately map to a diagnostic need. The framing 'answers why can I not do this in one call' separates it functionally from the capabilities and plan-change siblings without ambiguity.

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 an explicit trigger: 'Call this whenever something was refused for a limit', which is a clear when-to-use condition an agent can act on. It stops short of naming an alternative tool or stating a when-not condition, so it earns a 4 rather than 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