Skip to main content
Glama

mechacut

web_cache

Cache-Control verdict from header text alone: known vs inert-unknown directives, freshness math, the single action a compliant RFC 9111 cache must take. Answers 'will this be re-fetched?' without a browser. Free.

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": {
      "header": "<header>"
    },
    "name": "web_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
headerYes
methodNo
conditionalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful traits: the computation is static and offline ('header text alone', 'without a browser'), it is free, and it returns a verdict plus freshness math and required action. It never states the response shape, whether the verdict is deterministic across directives, or how the optional method/conditional inputs alter the outcome.

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?

Two tight sentences, front-loaded with the core verdict concept and tailed with the plain-language question it answers. The single-word 'Free' is a minor flourish rather than padding.

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?

The description hints at the return content (directive classification, freshness, required action), which partly compensates for the missing output schema. Against three input parameters with zero schema coverage and no annotations, however, it leaves the optional inputs and their effects unexplained, so an agent cannot call this fully confidently.

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%, so the description must explain all three parameters. It only implies the required 'header' input via 'header text alone' and says nothing at all about 'method' or 'conditional', which materially change cache behavior (e.g., conditional requests). Two of three parameters remain undefined everywhere the agent can look.

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 and output: a Cache-Control verdict derived from header text, covering directive classification, freshness math, and the action a compliant RFC 9111 cache must take. That is far more specific than the bare name 'web_cache'. It stops short of differentiating from siblings such as web_cert or the agent_* audit tools.

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?

'from header text alone' and 'without a browser' imply the situation (you already have header text and want a re-fetch answer), and 'Free' hints at preferring it over live probing. There is no explicit when-not guidance and no named alternative is offered, so the agent must infer the routing.

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.