Skip to main content
Glama

stale

Read-only

List documents left untouched for months, longest overdue first, to review notes and decisions that may be outdated; records are excluded and flagged docs appear separately for editing.

Instructions

List the docs nobody has looked at for months or more (default 6), the longest overdue first: a maintenance pass on notes and decisions that may be outdated. A look is an edit or a confirm_doc 'holds', and each confirmation in a row doubles the wait before the doc comes back. Records of a moment (saves, monthly reports, archives, docs confirmed as 'record') are never listed. Docs a reader flagged as outdated come apart, in outdated: they need an edit, not a review. Narrow with path_prefix (one folder) and limit (default 30, at most 100). Use mind_weather for the overview by folder, changes_since for what changed lately.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMost docs to return, the longest overdue first.
monthsNoUntouched (not edited nor confirmed) for at least this many months.
path_prefixNoKeep one folder, e.g. 'specs'.

Output Schema

NameRequiredDescriptionDefault
staleYes
monthsYes
outdatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.8.0
    • addedInput schema / properties / limit / description
      Added value: +"Most docs to return, the longest overdue first."
    • changedInput schema / properties / months / description
      Previous value: -"Threshold, in months."New value: +"Untouched (not edited nor confirmed) for at least this many months."
  2. First observedv2.7.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish a safe read (readOnlyHint=true, openWorldHint=false), yet the description adds real behavior: the definition of a "look" (edit or a confirm_doc 'holds'), the doubling backoff for consecutive confirmations, and the guarantee that archival/record docs are never returned. It does not restate the read-only nature but the added semantics are substantial; the only minor omission is anything about ordering ties or result truncation beyond limit.

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?

Purpose and exclusions are front-loaded, and the trailing sibling pointer is a single efficient sentence. The middle clauses about look-counting and doubling are dense but each carries real decision-relevant meaning; a slightly tighter phrasing could trim some repetition of the schema's defaults.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Three optional parameters, all documented, plus an output schema that covers return shape, so the description only needs to supply domain semantics and routing, which it does. An agent can call this correctly and interpret the `outdated` bucket without further information.

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 100%, so the baseline is 3, and the description goes a step further by tying `months` to the confirmation-backoff rule and noting path_prefix takes exactly one folder. The limit default and ceiling are repeated from the schema rather than added to it, which keeps this short of a 5.

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?

Opens with a specific verb and resource ("List the docs") plus a precise scope: untouched for `months` or more, sorted longest-overdue first. It further narrows the domain by excluding record-type docs and separating flagged-outdated docs into a distinct output bucket, so an agent can tell this apart from siblings like changes_since or mind_weather.

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?

Gives both when-to-use ("a maintenance pass on notes and decisions that may be outdated") and explicit alternatives with their conditions: mind_weather for the folder overview, changes_since for recent changes. It also states the key exclusion that flagged-outdated docs "need an edit, not a review," routing the agent away from this tool for that case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.