Skip to main content
Glama

get_stats

get_stats
Read-only

Account-wide or per-project stats for debugging: live CPU/mem vs the plan caps (Free: 256 MB / 0.2 CPU, Plus: 512 MB / 1 CPU) and deploy history. Omit project for all of the caller's projects; pass a project id or slug NaNalso returns resources.history — per-project CPU/mem time series over the window (sampled every ~30 s on the k3s platform; absent on stacks without the metrics collector).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / since
      Added value: +{
      +  "type": "number"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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

readOnlyHint already covers safety; the description adds plan caps, deploy history, resources.history sampling, and the caveat that metrics may be absent on stacks without the collector. It loses a point for the garbled 'NaNalso' and no explicit auth or rate information, but it is much richer than the annotations alone.

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

Conciseness3/5

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

Front-loads purpose and usage, and the plan-cap detail is useful. However, it is a dense run-on sentence with nested parentheticals and the garbled 'NaNalso' reduces readability.

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

Completeness3/5

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

With no output schema and 0% schema description coverage, the description must carry more burden. It gives useful output context and caveats, but omits the since parameter entirely and the ambiguous 'NaNalso' leaves a gap for a debugging tool.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters. The description clarifies that omitting project returns all caller projects and that project accepts an id or slug, but since is never mentioned, leaving its format, units, and window semantics undocumented.

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 account-wide or per-project stats for debugging, and names specific content: live CPU/mem vs plan caps and deploy history. It does not explicitly differentiate from get_status/account_status, but the scope and resource are clear.

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?

Explains the account-wide vs per-project choice via the project parameter and labels the tool for debugging. However, it gives no when-not guidance or explicit alternatives among sibling status tools.

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