Skip to main content
Glama

check

Validates a diff, plan, or answer against stored project memories before you act, flagging lines that may contradict current memory such as changed values or flipped negations.

Instructions

Check a diff, plan or answer against stored memories before acting on it. Flags lines that seem to contradict a current memory (a changed value, a flipped 'not'). A flag, not a verdict.

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": {
      "text": "<text>"
    },
    "name": "check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden; it discloses that output is advisory rather than a decision and characterizes the signal type ('a changed value, a flipped not'). It omits what happens when no memories exist, whether the memory store is scoped by project, or any cost/latency traits. The output schema relieves it of explaining return values.

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 action, then the signal, then the caveat about interpretation. No wasted wording.

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 two-parameter read tool with an output schema, the main gap is the undocumented 'project' scoping and the lack of any statement about required preconditions (existing memories). Otherwise adequate.

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 description coverage is 0%, so the description should compensate. It implies the first parameter is the diff/plan/answer text, but never names the parameter or explains the 'project' parameter at all, leaving half the inputs undocumented.

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 (check) and concrete resources (diff, plan, answer) evaluated against stored memories. The closing 'A flag, not a verdict' distinguishes it from confirm-style sibling behavior without needing to name them.

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?

'before acting on it' gives a clear trigger point, and 'A flag, not a verdict' tells the agent how much weight to give the result. No explicit when-not-to-use or named alternative (e.g., confirm, review) is offered.

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