Skip to main content
Glama

FMF Proof

Live Freshness Proof

freshness_proof

We read the URL now (robots.txt obeyed) and return FRESH, STALE_CACHE or CACHE_AGE_UNKNOWN from the Age and cache headers, whether the body changed since the pin you hold (body sha256 first, then ETag, then Last-Modified), and a new pin with valid_until.

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL to read. Also accepted as: link, uri, href, page, website, site, address.
priorNoThe pin you already hold: { sha256?, etag?, last_modified? }.
max_cache_age_sNoOldest cached copy you accept, in seconds (default 300).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that this is a live network read, that robots.txt is obeyed, the exact verdict enum, the precedence chain for change detection (sha256, then ETag, then Last-Modified), and that a new pin with valid_until is issued. Gaps remain around permission/auth needs, rate limits, and error behavior for unreachable or blocked URLs, which is why it is not a 5.

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?

One dense sentence that front-loads the action and then enumerates returns in the order an agent needs them; every parenthetical (robots.txt obeyed, precedence chain) carries information. No filler, no repetition of the schema.

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?

There is no output schema, so the description must define returns, and it does: three cache verdicts, a changed flag, and a new pin with expiry. For a 3-parameter tool with a nested prior object and zero annotations, the main missing piece is failure/error behavior and any auth or rate-limit expectations.

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 already 100%, so the baseline is 3, but the description adds real meaning beyond the schema by framing prior as 'the pin you hold' and explaining the comparison precedence among its sha256/etag/last_modified fields. It also clarifies that max_cache_age drives the STALE_CACHE classification, which the bare schema default does not convey.

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 action (live fetch of a URL) and a specific outcome set (FRESH, STALE_CACHE, CACHE_AGE_UNKNOWN plus a changed-since-pin verdict and a new pin). That is far more precise than a generic 'check freshness' and lets an agent distinguish it from adjacent tools like unfurl_check or diff_receipt. It stops short of explicitly naming a sibling it supersedes.

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?

Use is only implied: you call it when you hold a prior pin and want to know whether the remote body changed. There is no explicit when-to-use/when-not-to-use statement and no named alternative for the case where no pin exists or where a cheaper cached check would do. The robots.txt caveat is a usage constraint but not routing guidance.

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