Skip to main content
Glama

Check freshness

check_freshness
Read-onlyIdempotent

Concepts that need attention: stale (past stale_after), due soon (their stale_after coming within some days), draft, unverified, deprecated, and with a status OKF doesn't define, across every tree or some. Use it to find what needs reviewing or updating, or to see how much of a tree to trust before relying on it. For one concept, get_concept gives its status and staleness; to search only stable or human-reviewed concepts, search_concepts takes statuses and trustTiers.

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.
dueWithinDaysNoHow many days ahead dueSoon looks; 30 when absent.

Output Schema

NameRequiredDescriptionDefault
asOfYesWhen staleness was judged.
draftYesConcepts whose status is `draft`.
staleYesConcepts past their `stale_after` date, or whose `stale_after` isn't a date; each also gives it, as `staleAfter`.
dueSoonYesConcepts not stale yet whose `stale_after` comes within dueWithinDays days, soonest first; each gives it, as `staleAfter`.
conceptsYesHow many concepts were checked.
deprecatedYesConcepts whose status is `deprecated`.
unverifiedYesConcepts nobody has verified since they last changed.
unreadTreesYesThe slugs of trees that couldn't be read, so their concepts are missing.
unrecognizedYesConcepts whose status OKF doesn't define, which isn't stable; each gives it as `statusValue`.
dueWithinDaysYesHow many days ahead dueSoon looked.
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. Changed4 schema fields changed
    • addedInput schema / properties / dueWithinDays
      Added value: +{
      +  "description": "How many days ahead dueSoon looks; 30 when absent.",
      +  "maximum": 366,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / dueSoon
      Added value: +{
      +  "description": "Concepts not stale yet whose `stale_after` comes within dueWithinDays days, soonest first; each gives it, as `staleAfter`.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "description": {
      +        "description": "Its `description`, when it has one.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The concept's ID: its tree's slug, a colon, and its path without `.md`.",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Its file's path in the tree.",
      +        "type": "string"
      +      },
      +      "stale": {
      +        "description": "Whether it's past its `stale_after` date.",
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "description": "Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable.",
      +        "enum": [
      +          "draft",
      +          "stable",
      +          "deprecated",
      +          "unrecognized"
      +        ],
      +        "type": "string"
      +      },
      +      "statusValue": {
      +        "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +        "type": "string"
      +      },
      +      "tags": {
      +        "description": "Its `tags`.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Its `title`, when it has one.",
      +        "type": "string"
      +      },
      +      "tree": {
      +        "description": "The slug of the tree it's in.",
      +        "type": "string"
      +      },
      +      "trustTier": {
      +        "description": "How it has been verified, from its `verified` entries.",
      +        "enum": [
      +          "unverified",
      +          "machine-confirmed",
      +          "human-reviewed"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "Its `type`, when it has one.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "The concept's page in OKForest.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "tree",
      +      "path",
      +      "url",
      +      "tags",
      +      "status",
      +      "stale",
      +      "trustTier"
      +    ],
      +    "title": "Concept summary",
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / dueWithinDays
      Added value: +{
      +  "description": "How many days ahead dueSoon looked.",
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "asOf",
      -  "concepts",
      -  "stale",
      -  "draft",
      -  "unverified",
      -  "deprecated",
      -  "unrecognized",
      -  "unreadTrees",
      -  "unindexedTrees"
      -]New value: +[
      +  "asOf",
      +  "concepts",
      +  "stale",
      +  "dueSoon",
      +  "dueWithinDays",
      +  "draft",
      +  "unverified",
      +  "deprecated",
      +  "unrecognized",
      +  "unreadTrees",
      +  "unindexedTrees"
      +]
  2. Changed16 schema fields changed
    • changedOutput schema / properties / deprecated / items / properties / status / description
      Previous value: -"Its lifecycle status; `stable` when it gives none."New value: +"Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable."
    • changedOutput schema / properties / deprecated / items / properties / status / enum
      Previous value: -[
      -  "draft",
      -  "stable",
      -  "deprecated"
      -]New value: +[
      +  "draft",
      +  "stable",
      +  "deprecated",
      +  "unrecognized"
      +]
    • addedOutput schema / properties / deprecated / items / properties / statusValue
      Added value: +{
      +  "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +  "type": "string"
      +}
    • changedOutput schema / properties / draft / items / properties / status / description
      Previous value: -"Its lifecycle status; `stable` when it gives none."New value: +"Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable."
    • changedOutput schema / properties / draft / items / properties / status / enum
      Previous value: -[
      -  "draft",
      -  "stable",
      -  "deprecated"
      -]New value: +[
      +  "draft",
      +  "stable",
      +  "deprecated",
      +  "unrecognized"
      +]
    • addedOutput schema / properties / draft / items / properties / statusValue
      Added value: +{
      +  "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +  "type": "string"
      +}
    • changedOutput schema / properties / stale / description
      Previous value: -"Concepts past their `stale_after` date; each also gives it, as `staleAfter`."New value: +"Concepts past their `stale_after` date, or whose `stale_after` isn't a date; each also gives it, as `staleAfter`."
    • changedOutput schema / properties / stale / items / properties / status / description
      Previous value: -"Its lifecycle status; `stable` when it gives none."New value: +"Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable."
    • changedOutput schema / properties / stale / items / properties / status / enum
      Previous value: -[
      -  "draft",
      -  "stable",
      -  "deprecated"
      -]New value: +[
      +  "draft",
      +  "stable",
      +  "deprecated",
      +  "unrecognized"
      +]
    • addedOutput schema / properties / stale / items / properties / statusValue
      Added value: +{
      +  "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / unrecognized
      Added value: +{
      +  "description": "Concepts whose status OKF doesn't define, which isn't stable; each gives it as `statusValue`.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "description": {
      +        "description": "Its `description`, when it has one.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The concept's ID: its tree's slug, a colon, and its path without `.md`.",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Its file's path in the tree.",
      +        "type": "string"
      +      },
      +      "stale": {
      +        "description": "Whether it's past its `stale_after` date.",
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "description": "Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable.",
      +        "enum": [
      +          "draft",
      +          "stable",
      +          "deprecated",
      +          "unrecognized"
      +        ],
      +        "type": "string"
      +      },
      +      "statusValue": {
      +        "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +        "type": "string"
      +      },
      +      "tags": {
      +        "description": "Its `tags`.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Its `title`, when it has one.",
      +        "type": "string"
      +      },
      +      "tree": {
      +        "description": "The slug of the tree it's in.",
      +        "type": "string"
      +      },
      +      "trustTier": {
      +        "description": "How it has been verified, from its `verified` entries.",
      +        "enum": [
      +          "unverified",
      +          "machine-confirmed",
      +          "human-reviewed"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "Its `type`, when it has one.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "The concept's page in OKForest.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "tree",
      +      "path",
      +      "url",
      +      "tags",
      +      "status",
      +      "stale",
      +      "trustTier"
      +    ],
      +    "title": "Concept summary",
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / unverified / description
      Previous value: -"Concepts with no `verified` entry."New value: +"Concepts nobody has verified since they last changed."
    • changedOutput schema / properties / unverified / items / properties / status / description
      Previous value: -"Its lifecycle status; `stable` when it gives none."New value: +"Its lifecycle status; `stable` when it gives none, `unrecognized` for one OKF doesn't define, which isn't stable."
    • changedOutput schema / properties / unverified / items / properties / status / enum
      Previous value: -[
      -  "draft",
      -  "stable",
      -  "deprecated"
      -]New value: +[
      +  "draft",
      +  "stable",
      +  "deprecated",
      +  "unrecognized"
      +]
    • addedOutput schema / properties / unverified / items / properties / statusValue
      Added value: +{
      +  "description": "Its `status` as written, when OKF doesn't define it (`unrecognized`).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "asOf",
      -  "concepts",
      -  "stale",
      -  "draft",
      -  "unverified",
      -  "deprecated",
      -  "unreadTrees",
      -  "unindexedTrees"
      -]New value: +[
      +  "asOf",
      +  "concepts",
      +  "stale",
      +  "draft",
      +  "unverified",
      +  "deprecated",
      +  "unrecognized",
      +  "unreadTrees",
      +  "unindexedTrees"
      +]
  3. 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"
      +]
  4. 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 readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond them by defining what qualifies as 'needs attention' (the status taxonomy and the `stale_after` threshold semantics) and by stating the scope behavior of scanning all trees versus a subset. It does not mention result volume, ordering, or caps when scanning every tree, which is the remaining gap.

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?

Guidance is front-loaded into two sentences, and the alternative-routing clause is placed last where it belongs. The opening status enumeration is dense and slightly awkward as a purpose statement, but every clause carries information; no filler.

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?

With an output schema present, return values need not be explained, and the two optional parameters are fully documented in schema. For a read-only, idempotent query tool the definition covers purpose, categories, scope and alternatives; only the shape of a broad all-trees result (volume/ordering) is unaddressed.

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 both parameters carry descriptions (tree slugs, the 30-day default and 1–366 bounds for `dueWithinDays`), so the schema does the heavy lifting. The description contributes the conceptual meaning of 'due soon' relative to `stale_after` and 'some vs every tree', but adds no format or edge-case detail beyond the 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 definition names the resource (concepts needing attention) and enumerates the exact categories it surfaces: stale past `stale_after`, due soon, draft, unverified, deprecated, and undefined statuses. The verb is only implicit — the sentence opens with a bare noun phrase rather than 'Lists' or 'Finds' — but the scope ('across every tree or some') and the sibling handoffs make the intent unambiguous.

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?

It gives two concrete use cases ('find what needs reviewing or updating' and 'see how much of a tree to trust before relying on it') and two explicit alternatives with their selecting conditions: `get_concept` for a single concept's status and staleness, `search_concepts` with `statuses`/`trustTiers` when you want only stable or human-reviewed results. Nothing is left to inference.

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