Skip to main content
Glama

Plan and usage

usage_get
Read-only

What the plan includes and what is used this month: posts, accounts and uploads, the workspace time zone, when the month ends, and the latest time a post can be scheduled for right now. Check it before queuing a batch.

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

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a safe, closed-world read. The description adds value beyond them by revealing the shape of the result (entitlements vs. consumed usage, time zone, month-end, live scheduling cutoff), which matters because there is no output schema. It does not discuss freshness guarantees or whether counts are eventually consistent.

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?

A single dense sentence lists the returned fields, followed by one short action cue. No filler, and the highest-value information (what the plan allows vs. what is used) comes first.

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 one optional parameter, no output schema and annotation coverage of the safety profile, the description does the heavy lifting by enumerating return fields. The only real gap is the absence of brand scoping semantics and any note on how fresh the usage counters are.

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?

The single parameter brandId is fully documented in the schema, including the id source (brands_list) and the single-brand omission rule, so the schema carries the burden. The description adds nothing about brand scoping — notably it does not say whether usage is reported per brand or per login.

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?

The description enumerates exactly what the tool returns: plan entitlements plus this month's usage for posts, accounts and uploads, the workspace time zone, the month-end date, and the current scheduling cutoff. That is far more concrete than the generic title 'Plan and usage', though it never states the verb (read/retrieve) or explicitly contrasts itself with siblings.

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?

'Check it before queuing a batch' gives a concrete triggering condition tied to a real workflow, which is stronger than a vague 'use when needed'. It stops short of exclusions or naming an alternative tool for related quota questions, so it is clear context rather than full when/when-not guidance.

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.