Skip to main content
Glama

grape_get_stale_items

Lists prior context items marked stale without returning their bodies, helping AI coding agents identify outdated session context without reloading full content.

Instructions

List prior context Grape marked stale without returning bodies.

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

Input Schema

NameRequiredDescriptionDefault
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose one important trait: bodies are omitted, so this is a metadata-only read. It says nothing about result shape, ordering, pagination, whether stale items are session-scoped, or whether results can be recovered in full elsewhere.

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 front-loaded sentence with no padding or redundant restatement of the name. The trailing "without returning bodies" clause is slightly buried, but nothing is wasted.

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?

For a one-parameter read tool with no output schema and no annotations, the definition covers the core purpose and the no-bodies caveat, which is the minimum viable. It still leaves the sole parameter and the result shape unexplained, which matters because there is no schema or annotation coverage to fall back on.

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?

There is one parameter (sessionId) with 0% schema description coverage, and the description never mentions it. It is unclear whether sessionId scopes results to one session, is optional with a default, or is required in practice despite being marked non-required.

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?

States a specific verb ("List") and a specific resource ("prior context Grape marked stale"), with an added scope qualifier that bodies are not returned. This differentiates it from a general context-fetch sibling such as grape_get_context, though no sibling is named explicitly.

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?

Usage is only implied: an agent can infer it is for discovering which prior context was invalidated, but the description gives no explicit when-to-use, when-not, or pointer to the tool that does return the bodies. There are no prerequisites, no mention of how this relates to the other grape_get_* tools.

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