Skip to main content
Glama

Plan and limits

account_entitlements
Read-only

Retrieve the workspace plan, modules, rate limits, and credit wallet for a billing period; returns JSON including remaining credits, reset time, and provenance.

Instructions

The workspace's plan, modules, rate limits and credit wallet (credits.remaining, credits.resetAt) for a billing period. Needs API key scope keys:manage. Free (no credits). Returns the API answer as JSON, with provenance (freshness, coverage, source).

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

Input Schema

NameRequiredDescriptionDefault
periodNoBilling period start, `YYYY-MM-01`; defaults to the current one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real weight: it discloses the required API key scope `keys:manage`, that the call consumes no credits, the currency of the answer, and that responses include `provenance` (freshness, coverage, source). It stops short of describing failure modes when the key lacks the scope.

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?

Three tight sentences, front-loaded with the resource and followed by auth, cost, and return shape. The telegraphic fragments ('Free (no credits).') are efficient rather than confusing, though slightly clipped.

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?

For a read-only, open-world, single-parameter tool with no output schema, it covers the essentials: what is returned, key fields, auth scope, cost, and provenance semantics. Only error/permission-failure behavior is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single `period` parameter is fully documented with its pattern and default. The description reinforces the billing-period frame but adds no format or edge-case detail (e.g. future periods) beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete resource set — plan, modules, rate limits, and a credit wallet with named fields (`credits.remaining`, `credits.resetAt`) — scoped to a billing period. That distinguishes it in substance from siblings like account_usage, though it never names the alternative explicitly.

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

Usage Guidelines3/5

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

Usage is implied (check plan/limits/credit balance for a period) and it usefully flags cost: 'Free (no credits)'. There is no explicit when-to-use vs. account_usage or when-not guidance, so the agent must infer the boundary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.