Skip to main content
Glama

Check freshness

check_freshness
Read-onlyIdempotent

Concepts that need attention: stale (past stale_after), draft, unverified, and deprecated, across every tree or some.

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

Input Schema

NameRequiredDescriptionDefault
treesNoThe trees' slugs, as list_trees gives them (not their names). Only these trees; omit for every tree.

Output Schema

NameRequiredDescriptionDefault
asOfYesWhen staleness was judged.
draftYesConcepts whose status is `draft`.
staleYesConcepts past their `stale_after` date; each also gives it, as `staleAfter`.
conceptsYesHow many concepts were checked.
deprecatedYesConcepts whose status is `deprecated`.
unverifiedYesConcepts with no `verified` entry.
unreadTreesYesThe slugs of trees that couldn't be read, so their concepts are missing.
unindexedTreesYesOf unreadTrees, the slugs of those not indexed yet, whose concepts are missing: try again in a moment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / unindexedTrees
      Added value: +{
      +  "description": "Of unreadTrees, the slugs of those not indexed yet, whose concepts are missing: try again in a moment.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "asOf",
      -  "concepts",
      -  "stale",
      -  "draft",
      -  "unverified",
      -  "deprecated",
      -  "unreadTrees"
      -]New value: +[
      +  "asOf",
      +  "concepts",
      +  "stale",
      +  "draft",
      +  "unverified",
      +  "deprecated",
      +  "unreadTrees",
      +  "unindexedTrees"
      +]
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine domain context by defining 'stale' as past `stale_after`, but it says nothing about result volume, ordering, or whether counts are returned. Annotations do most of the work here.

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 compact clause that front-loads the categories and ends with the scope. Nothing is wasteful, though the fragment form costs some readability compared to a complete sentence.

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?

An output schema exists, so return values needn't be described, and the sole parameter is fully covered. What's still missing is a plain statement of the action and any indication of result shape (flat list vs. grouped by status), which matters for an agent deciding when to call it.

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 100% and the schema already explains slugs vs. names and that omission means all trees. The description's 'across every tree or some' only echoes the optionality already documented, adding no new syntax or edge-case guidance. Baseline 3 is appropriate.

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

Purpose3/5

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

The description is a noun phrase rather than a verb+resource statement, but it does enumerate the exact concept states the tool surfaces (stale, draft, unverified, deprecated) and the scope (every tree or a subset). An agent can infer this is a read-only listing of concepts needing attention, but nothing explicitly says what the tool does or how it differs from search_concepts or get_inventory.

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

Usage Guidelines2/5

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

'Across every tree or some' hints at the optional filtering, but there is no statement of when to reach for this tool versus search_concepts or get_concept, and no prerequisites or exclusions. Usage has to be inferred entirely from the parameter shape.

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