Skip to main content
Glama

end_validity

Marks a memory as no longer true without a replacement, defaulting the end date to now so it stays recallable for the period it held.

Instructions

Record that a memory stopped being true, when nothing replaces it ('we stopped using Traefik'). valid_to defaults to now. The memory stays believed and recallable, ranked lower and carrying its valid_to; recall with valid_at still finds it for the time it held. When a newer memory replaces it, propose check_contradictions(mode='resolve', outcome='supersedes') instead.

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": {
      "key": "<key>"
    },
    "name": "end_validity"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
reasonNo
valid_toNoWhen it stopped being true: an ISO date, a timestamp or a phrase. Defaults to now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full disclosure burden. It does the important work: the memory is not deleted, it stays believed and recallable, it is ranked lower, it carries its valid_to, and valid_at recall still surfaces it for the period it held. It doesn't cover reversibility, idempotency, or failure behavior on an unknown key, so it falls short of a 5.

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?

The core behavior comes first, and the conditional detail (default now, still recallable, alternative tool) follows in descending priority. Every clause adds decision-relevant information: no filler, no restatement of the name.

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?

Since there are no annotations and no output schema, the description has to be complete by itself. It explains the lifecycle effect well, but for a mutation tool it never states whether the action can be undone, what happens if the key doesn't exist, or what the response looks like, and it leaves two of three parameters unexplained.

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 only 33% (valid_to is documented in the schema), so the description needs to compensate. It only restates that valid_to defaults to now, and never explains what key identifies or what reason is for, leaving a required parameter and a null-defaulted one semantically undocumented.

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 description gives a specific verb and resource ("Record that a memory stopped being true") and immediately scopes it with the condition "when nothing replaces it", which separates it from check_contradictions. An agent can tell what this tool does and does not do without opening the 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?

It states both when to use it (memory stopped being true, nothing replaces it) and when to use an alternative instead, naming the sibling and its exact arguments: check_contradictions(mode='resolve', outcome='supersedes'). The use and no-use cases are explicit.

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