Skip to main content
Glama

PerfDelta

Get plan and budget usage

get_usage
Read-onlyIdempotent

Your plan, monthly PageSpeed test budget, how much is used (monthly_used_pct), what monitoring still needs this month and how many tests are left for scans today. From 80 percent of the monthly budget budget_warning is set (used_pct, upgrade_plan, upgrade_url to the pricing page), otherwise null. Free.

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_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the description's job is to add operational detail — and it does: the 80 percent monthly-budget threshold that triggers budget_warning, the exact warning payload fields (used_pct, upgrade_plan, upgrade_url), the null-otherwise semantics, and the no-cost note. What remains unstated is any freshness or caching behavior for the counters.

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 return contents are front-loaded in the first sentence and the conditional warning behavior follows in the second. It is compact, but the phrasing is run-on and contains a duplicated word ('monthly budget budget_warning') that slightly hampers readability.

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 no parameters and no output schema, the description carries the burden of describing return values, and it largely does: plan, budget, usage percentage, remaining monitoring, remaining daily scans, and the conditional warning object. Only minor gaps remain, such as the units/lifetime of the counters and how they reset.

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 no parameters, so there is nothing for the description to disambiguate. Baseline for a zero-parameter tool applies.

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 names a specific resource set: plan, monthly PageSpeed test budget, consumption percentage, monitoring obligations, and remaining daily scans. It is clear what the tool returns, though it never explicitly says 'retrieve' and does not distinguish itself from the sibling get_budget_status, which by name could plausibly return overlapping budget data.

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 rather than stated: the mention of 'how many tests are left for scans today' suggests calling this before running scans. There is no explicit when-to-use/when-not-to-use guidance and no mention of the get_budget_status alternative, leaving the agent to infer the division of labor.

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