Skip to main content
Glama

grape_get_omitted_item

Retrieve the body of an item omitted as unchanged by passing its restore token; returns a stale marker instead of a body if the item changed since.

Instructions

Fetch the body of an item Grape omitted as unchanged. Pass the restoreId from a RESTORE_AVAILABLE item. Returns stale instead of a body if the item changed since.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sessionId": "<sessionId>",
      "restoreToken": "<restoreToken>"
    },
    "name": "grape_get_omitted_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes
restoreTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden. It usefully discloses the conditional outcome ('Returns stale instead of a body if the item changed since'), which is real behavioral value. It says nothing about whether the restore token is consumed, whether fetching restores or mutates the item, or what the caller should do on a stale result — material gaps for a 'restore'-flavored operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose, then the precondition, then the edge-case return. Nothing is redundant or padded.

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

Completeness2/5

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

No annotations, no output schema, and 0% schema description coverage, so the description is the only source of semantics. It omits the required sessionId entirely and misnames the token parameter, leaving an agent to guess at half the input surface.

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 coverage is 0%, so the description must compensate, and it only partly does. Worse, it instructs the agent to pass a 'restoreId' while the schema requires 'restoreToken', and the other required parameter, 'sessionId', is never mentioned at all — the naming mismatch could actively mislead an agent filling arguments.

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?

Names a specific verb and resource: 'Fetch the body of an item Grape omitted as unchanged,' which tells an agent exactly what comes back. It does not explicitly contrast itself with nearby siblings such as grape_get_stale_items or grape_get_artifact, so differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

Gives a concrete trigger: call it when holding a RESTORE_AVAILABLE item and you need the body. It stops short of exclusions or naming an alternative path for items that are not RESTORE_AVAILABLE, so it is clear context without full routing guidance.

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