Skip to main content
Glama

PerfDelta

Check performance budgets

get_budget_status
Read-onlyIdempotent

Performance budget check for CI gates: evaluates a measurement against the performance budgets of your project URLs (page weight per resource type, third parties, lab metrics, score, field data) and returns passed true/false per URL and overall. Each budget has status ok, warn (within budget but less than 10 percent headroom; still passes), over or no_data. Pass the scan_id from scan_url after get_scan reports done, or a url_id for its latest completed measurement. passed is null while the scan is still running or when no budgets apply. Not to be confused with the PageSpeed test budget in get_usage. 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_budget_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNooptional: limit a scan_id check to this page
url_idNoproject URL id, from list_urls; latest completed measurement
scan_idNoscan_id from scan_url, get_scan or get_history

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive behavior beyond that: the ok/warn/over/no_data status vocabulary, the precise meaning of warn (within budget but under 10% headroom, still passes), and the null-passed conditions while a scan is running or no budgets apply. It also flags the tool as free, which is useful for cost-aware planning.

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?

Front-loaded with the core purpose and CI-gate context, and every sentence carries information. The status enumeration sentence is dense and slightly run-on, but nothing is redundant enough to cut outright.

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

Completeness5/5

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

There is no output schema, so the description carries the return-value burden — and it does, describing passed true/false per URL and overall plus the null cases and per-budget statuses. For a three-optional-parameter read tool, nothing an agent needs to call or interpret it is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds ordering semantics the schema lacks — scan_id only makes sense after get_scan reports done, url_id resolves to the latest completed measurement, and url narrows a scan_id check to one page. That is real added meaning rather than a restatement of field descriptions.

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?

States a specific verb and resource ('evaluates a measurement against the performance budgets of your project URLs'), enumerates the budget domains covered, and explicitly disambiguates from the similarly named PageSpeed budget in get_usage. An agent can select this over get_usage without opening either schema.

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?

Gives concrete sequencing ('Pass the scan_id from scan_url after get_scan reports done, or a url_id for its latest completed measurement'), which is exactly the when-to-use guidance an agent needs. It also names the exclusion case against get_usage, so the alternative and its selecting condition are both present.

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