Skip to main content
Glama

Flag a knowledge entry as out of date

flag_knowledge_out_of_date

Marks a knowledge entry's newest version as possibly out of date, with a note of what you found instead (on the business's site, in a document, from the person), so every agent and the person see it and the person can check and fix it. The entry is still used and nothing is overwritten; confirm_knowledge or any new version clears the flag. When you know the right text and the person agrees, change it with update_knowledge instead. Send the newest version you read; if a newer version was saved since, nothing is flagged and the answer is version_moved with the newest number.

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": {
      "knowledge_id": "<knowledge_id>",
      "version": "<version>",
      "note": "<note>"
    },
    "name": "flag_knowledge_out_of_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesWhat you found instead and where, in a sentence or two, such as: The site's contact page says we open at 10.
versionYesThe entry's newest version, the one that may be out of date (read_knowledge gives it).
project_idNoThe project the entry is in. May be left out: the entry's id finds its own project or the workspace.
knowledge_idYesThe entry (list_knowledge and search_knowledge give ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only state that this is a non-destructive write. The description adds much more: the entry is still used, nothing is overwritten, who sees the flag ('every agent and the person'), and how the flag is cleared. It also discloses the optimistic-concurrency failure mode ('if a newer version was saved since, nothing is flagged and the answer is version_moved with the newest number'), which annotations cannot convey.

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?

Front-loaded with the core action, then alternatives, then the concurrency caveat. Every sentence carries information, though the opening sentence is a long run-on that packs affect, audience, and mutability into one breath and could be split for faster scanning.

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 no output schema, the description carries the return-value burden and does explain the version_moved branch, but it does not say what a successful flag returns. Given the tool's moderate complexity and rich schema coverage, the remaining gap is small but real.

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; the description goes further by explaining the concurrency meaning of version ('the newest version... the one that may be out of date') and the role of note ('what you found instead and where'). It does not add guidance on project_id versus workspace_id scoping, but the schema already covers those.

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?

Uses a specific verb and resource: 'Marks a knowledge entry's newest version as possibly out of date, with a note of what you found instead'. It names the exact fields involved (newest version, note) and explicitly distinguishes itself from update_knowledge and confirm_knowledge, so an agent can separate it from its siblings without opening a schema.

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 explicit routing instructions in both directions: 'When you know the right text and the person agrees, change it with update_knowledge instead', plus 'confirm_knowledge or any new version clears the flag'. It also prescribes the exact value to pass ('Send the newest version you read'), removing ambiguity about which tool or argument to use.

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