Skip to main content
Glama

Read plan, limits, and current usage

get_account
Read-onlyIdempotent

Return the team's plan, its limits, current usage, the trial end date and the per-token MCP rate limit. Call it before deploy_site or add_custom_domain to check a plan limit instead of running into PLAN_LIMIT_EXCEEDED.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planYesPlan name. Current plans: Free (the 14-day trial), Solo, Maker, Studio, Business. Older accounts can show Freemium or Ultimate.
teamYes
usageYes
limitsYes
trialEndsAtYesISO timestamp when the 14-day trial of the team owner ends or ended, or null on a paid plan or without a trial. When a trial ends without a plan, the sites go offline and the files are kept for 30 days.
planExpiresAtYesISO timestamp when the current plan ends (trial-tier limits apply after it), or null if no end date is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / planExpiresAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / planExpiresAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / trialEndsAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / trialEndsAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / usage / properties / customDomains / description
      Previous value: -"Currently attached custom domains across the team."New value: +"Distinct custom domains in use across the team: added with add_custom_domain or linked and bought in the dashboard."
  3. Changed5 schema fields changed
    • changedOutput schema / properties / limits / properties / mcpCallsPerHour / description
      Previous value: -"Per-token cap on total MCP tool calls. Live remaining headroom is also returned in the X-RateLimit-Remaining HTTP response header on every call."New value: +"MCP tool calls allowed per hour per token; the remaining count is in the X-RateLimit-Remaining header."
    • changedOutput schema / properties / plan / description
      Previous value: -"Effective plan name: Free, Solo, Freemium, Maker, Studio, Business, Ultimate."New value: +"Plan name. Current plans: Free (the 14-day trial), Solo, Maker, Studio, Business. Older accounts can show Freemium or Ultimate."
    • changedOutput schema / properties / planExpiresAt / description
      Previous value: -"ISO timestamp when the plan downgrades to Free, or null if no expiry set."New value: +"ISO timestamp when the current plan ends (trial-tier limits apply after it), or null if no end date is set."
    • addedOutput schema / properties / trialEndsAt
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "ISO timestamp when the 14-day trial of the team owner ends or ended, or null on a paid plan or without a trial. When a trial ends without a plan, the sites go offline and the files are kept for 30 days."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "plan",
      -  "planExpiresAt",
      -  "limits",
      -  "usage",
      -  "team"
      -]New value: +[
      +  "plan",
      +  "planExpiresAt",
      +  "trialEndsAt",
      +  "limits",
      +  "usage",
      +  "team"
      +]
  4. Changed1 schema field changed
    • removedOutput schema / properties / request_id
      Removed value: -{
      -  "description": "Server-assigned request correlation id. Quote it when contacting support.",
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • changedOutput schema / properties / plan / description
      Previous value: -"Effective plan name: Free, Freemium, Maker, Studio, Business, Ultimate."New value: +"Effective plan name: Free, Solo, Freemium, Maker, Studio, Business, Ultimate."
  6. Changed1 schema field changed
    • addedOutput schema / properties / request_id
      Added value: +{
      +  "description": "Server-assigned request correlation id. Quote it when contacting support.",
      +  "type": "string"
      +}
  7. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuinely new behavioral context: it is a pre-flight check whose purpose is avoiding a specific downstream error code. It stops short of saying whether usage figures are real-time or cached, which would matter for repeated polling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler: the first front-loads what is returned, the second front-loads when to call it and the error it avoids. Nothing is repeated from the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return shape needn't be described, and the description still enumerates the key fields an agent will want. Zero parameters means no invocation risk. The only minor gap is freshness of the usage and rate-limit values, which affects how often an agent should re-call 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?

The tool takes zero parameters, so the baseline is 4 per the rubric and there is nothing parameter-level for the description to compensate for. The empty object schema leaves no ambiguity about invocation.

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 uses a specific verb ("Return") and enumerates the exact resource contents: plan, limits, current usage, trial end date, and per-token MCP rate limit. That enumeration makes it unmistakable against siblings like get_site or get_site_analytics, which return site-scoped rather than account-scoped data.

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?

It names the concrete call sites ("before deploy_site or add_custom_domain") and the failure it prevents ("PLAN_LIMIT_EXCEEDED"), so an agent knows exactly when to route here instead of attempting the deploy first. That is an explicit when-to-use rule tied to named siblings.

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.