Skip to main content
Glama

Check Fact Freshness

check_fact
Read-onlyIdempotent

Cost preflight before repeated paid or slow source-backed validation, especially across an agent fleet. Use before paid web search, metered scraping, browser/extraction, rate-limited APIs or multi-step validation when the caller already has a known value. If evidence is not reusable under caller policy, validate normally and OBSERVE for later runs. SeenRelay never browses or verifies externally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factYes
known_valueYes
max_age_secondsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the tool read-only, non-destructive, and idempotent. The description adds meaningful context beyond that: it is a preflight rather than a verification step, it never browses or verifies externally, and it is policy-conditional about evidence reuse. It could be more explicit about what the tool actually returns, but no contradiction exists.

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 purpose and remains compact at three sentences. The list of costly operations is somewhat repetitive, but each clause adds context about when the preflight is valuable. No unnecessary 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 usage context is well covered, and annotations plus the rich nested schema carry much of the structural burden. However, there is no output schema and the description never states what check_fact returns (e.g., fresh/stale, reusable boolean, cost estimate), nor does it explain the role of max_age_seconds. This leaves a meaningful gap for an agent deciding what to do with the result.

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 carries the burden of explaining parameters, but it never names fact, known_value, or max_age_seconds. It hints at known_value via 'caller already has a known value' and at source-backed facts, but max_age_seconds is entirely unaddressed. The description does not compensate for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific operation (cost preflight / freshness check) on a specific resource (source-backed fact) and clearly distinguishes it from external validation by stating 'SeenRelay never browses or verifies externally.' It also differentiates from the sibling observe_fact through the 'OBSERVE for later runs' instruction.

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

Usage Guidelines5/5

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

The description explicitly says when to use the tool: before paid web search, metered scraping, browser/extraction, rate-limited APIs, or multi-step validation when the caller already has a known value. It also gives the when-not condition: if evidence is not reusable, validate normally and OBSERVE. This is strong, actionable 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.

TDQS

A4.3/5.0
Disambiguation5/5

check_fact (read/preflight lookup) and observe_fact (write/deposit) have clearly distinct purposes with no overlap. The descriptions reinforce when to use each tool.

Naming Consistency5/5

Both tools follow the same verb_noun pattern: check_fact and observe_fact. Consistent and predictable.

Tool Count5/5

Two tools are well-scoped for a simple fact-cache service: one read-oriented preflight and one write-oriented deposit. No unnecessary bloat.

Completeness4/5

The core cache lifecycle (check before expensive work, observe after validation) is covered. Minor omissions like explicit invalidation or cache statistics are not essential to the stated purpose.