Skip to main content
Glama

website carbon

website_carbon
Read-only

Carbon footprint of a web page: measured page weight, green-hosting check (Green Web Foundation), grams of CO2 per view and per 10,000 views a month, an A-F rating and how to cut it. Costs $0.004 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "website_carbon"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and network scope are covered. The description adds genuinely useful context beyond them: the $0.004 USDC cost per call and the x402 payment protocol, plus the list of computed metrics. It stops short of disclosing failure modes (unreachable URL, non-HTML targets) or latency, so it is strong but not exhaustive.

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?

A single front-loaded sentence that moves from purpose to outputs to cost with no filler. The output enumeration is a long run of clauses, but each item is informative rather than decorative, so it stays within reasonable bounds.

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 output schema, the description correctly enumerates the returned metrics, and it covers the payment model — the two things an agent could not learn from structured fields. Remaining gaps are minor: no note on URL requirements or on what happens when the target is unreachable, which matters for an openWorld fetch tool.

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 coverage is 0% for the single 'url' parameter, so the description carries the burden and only partially discharges it — 'of a web page' implies a page URL but says nothing about whether a full scheme is required, whether redirects are followed, or whether the page is fetched live. The meaning is largely recoverable from the parameter name, so this is adequate but thin.

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 ('carbon footprint of a web page') and enumerates the concrete outputs (page weight, green-hosting check via Green Web Foundation, grams CO2 per view and per 10k views, A-F rating, remediation advice), so an agent knows exactly what it produces. It does not, however, differentiate itself from overlapping siblings such as page_weight, report_website_audit, or seo, which an agent could plausibly confuse it with.

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 agent can infer this is the tool to call when it has a URL and wants an emissions/environmental read. There is no explicit when-to-use framing, no exclusions, and no pointer to page_weight or a11y_audit as complementary tools, so the agent must infer the boundary itself.

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