Skip to main content
Glama

Check Performance Budget

check_performance_budget
Read-only

Audit a website's performance against specified budget thresholds for key metrics like LCP, CLS, and FCP to verify it meets your speed requirements.

Instructions

Check if website performance meets specified budget thresholds

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to audit
budgetYes
deviceNoDevice to emulate (default: desktop)desktop

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
summaryYes
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.27
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fetchTime": {
      +          "type": "string"
      +        },
      +        "overallPassed": {
      +          "type": "boolean"
      +        },
      +        "results": {
      +          "additionalProperties": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "actual": {
      +                "type": "number"
      +              },
      +              "budget": {
      +                "type": "number"
      +              },
      +              "difference": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "passed": {
      +                "type": "boolean"
      +              },
      +              "unit": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "actual",
      +              "budget",
      +              "unit",
      +              "passed",
      +              "difference"
      +            ],
      +            "type": "object"
      +          },
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "overallPassed",
      +        "results",
      +        "fetchTime"
      +      ],
      +      "type": "object"
      +    },
      +    "recommendations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "summary": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "summary",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Addedv1.0.26
  3. Removedv1.0.1
  4. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare readOnlyHint: true and openWorldHint: true, indicating a read-only operation that may access external resources. The description adds no extra behavioral context—it does not mention that the tool will perform a live audit, make network requests, or have rate limits. While there is no contradiction, the description fails to disclose the operation's networked nature, which is a meaningful behavioral trait beyond the annotations.

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?

The description is a single, efficient sentence with no filler. It conveys the purpose immediately and contains no redundant information. It earns a high score for being appropriately sized and front-loaded.

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?

Given the tool's moderate complexity (nested budget object, optional device, output schema present), the description is minimal. It does not explain when to use it compared to siblings, nor does it clarify the semantics of the budget fields beyond what the schema provides. The output schema exists, so return values are covered, but the lack of usage guidance leaves the description somewhat incomplete for guiding an agent toward correct invocation in context.

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 description coverage is 67%: url and device have descriptions, but the budget object itself lacks a description at the top level. The inner properties are described, so the schema partially covers the main parameter. The description adds no additional meaning about how to structure the budget or interpret thresholds, leaving the agent to rely on the schema's inner property descriptions, which are adequate but not enriched.

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 clearly states the tool's function: checking website performance against budget thresholds. It uses a specific verb ('check') and resource ('website performance'), and the notion of 'budget thresholds' distinguishes it from sibling tools that return raw scores or metrics. However, it does not explicitly name an alternative or contrast with similar tools like get_performance_score, so it is clear but not strongly differentiated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of siblings such as run_audit, get_performance_score, or get_core_web_vitals. The description only states what it does, leaving the agent to infer appropriate use. No exclusions, alternatives, or preconditions are provided, so usage context is entirely absent.

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