Skip to main content
Glama

memory_flag

Flag knowledge that is missing or wrong, for a person to review.

Creates one pending knowledge_flag review in the same queue as other review kinds (review_list). It never writes, edits or retires memory, skills or playbooks, and accepting it changes nothing either: a person decides whether to fix the source. Each target you name must be inside your reach; a memory id you cannot read answers like a missing one (flagged: false, reason: not_found).

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": {
      "summary": "<summary>"
    },
    "name": "memory_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile or code path it concerns
skillNoSkill name the flag is about
summaryYesWhat is missing or wrong, and what you expected instead
work_idNoWork item UUID it came up on
playbookNoPlaybook name the flag is about
memory_idNomemory_items UUID of the fact that is wrong

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that the only effect is queueing a pending review, that accepting the flag changes nothing, that no memory/skill/playbook is mutated, and that out-of-reach targets come back as flagged:false / reason:not_found. These are exactly the side-effect and authorization facts an agent needs for a low-risk mutation.

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?

The lead sentence is front-loaded with the action and the human-review framing before any caveats. The remaining three paragraphs are mostly load-bearing, though the explanation of the review queue and the not_found return could be tightened without losing meaning.

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?

For a six-parameter creation tool with no annotations, the description covers effect, non-effects, permissions and the failure shape, which is close to complete. An output schema exists so return values need not be enumerated, making the partial mention of flagged/reason a bonus rather than a required element.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all six parameters are already documented, which sets the baseline at 3. The description adds one genuinely new constraint not present in the schema, that each named target must be inside the caller's reach and unreadable ids behave like missing ones, but it says nothing about which target kinds are mutually exclusive or how summary should relate to a specific target.

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?

The first line gives a specific verb and object (flag missing/wrong knowledge for human review), and the second pins down the artifact it creates (a pending knowledge_flag review in the same queue as review_list). It also draws a hard boundary against the mutation siblings by stating it never writes, edits or retires memory, skills or playbooks, so an agent can separate it from memory_forget or memory_action_apply without opening those schemas.

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?

The description makes the when clear: this is the path for knowledge that is missing or wrong and should be left to a person, not corrected in place. It effectively excludes the direct-mutation route by naming what the tool does not touch, but it never names a concrete alternative (e.g. memory_forget for retiring a bad fact) or states an explicit when-not-to-use condition, so routing still requires a small inference.

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.