Skip to main content
Glama

Aadharsh Site

Cache

cache
Read-onlyIdempotent

Does a URL's ETag ever actually 304? A BEHAVIORAL probe rather than a header read: fetches twice to see whether the validator survives two identical requests, then replays it with If-None-Match and reports what the origin did. Also checks Accept negotiation against Vary. Returns a rendered frame. Same route as /cache.

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": "cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo

Output Schema

NameRequiredDescriptionDefault
urlYesSite-relative path and query string for reopening the terminal view
frameYesRendered 80-column terminal frame as plain text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, non-destructive, but the description adds what those hints cannot: this tool makes multiple outbound requests to a third-party origin, sends a conditional If-None-Match replay, and inspects Vary. Those extra round-trips and external-facing behavior are exactly the operational detail an agent needs before calling it.

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 description is front-loaded with the core question, then the mechanism, then the result, and every sentence carries information. The trailing 'Same route as /cache' is opaque and its practical value is unclear, a minor blemish.

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?

An output schema exists, so return values need not be spelled out, and the description still signals a rendered frame is produced. For a multi-request network probe the sequence is well documented; only the handling of unreachable origins or non-HTTP URLs is left unstated.

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?

The only parameter is 'url' with 0% schema description coverage, and the description never explains which URL it expects (target origin page? resource endpoint?) or why nothing is marked required. Beyond the passing phrase 'a URL's ETag', the description does not compensate for the empty schema.

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 concrete behavior: it tests whether an ETag actually produces a 304 across two identical fetches, replays with If-None-Match, and checks Accept/Vary negotiation. It distinguishes itself from a 'header read', so an agent can tell it apart from passive header inspection, though no sibling tool is named explicitly.

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

Usage Guidelines4/5

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

It clearly frames when this tool applies ('behavioral probe rather than a header read' – use it to empirically verify cache validator behavior) and gives the underlying mechanism. It stops short of explicit exclusions or naming an alternative tool for the header-read case.

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.