Skip to main content
Glama

knowmind_end_fact

Idempotent

Ends a memory entry that no longer applies without deleting it: sets a valid-to time so standard recall stops returning it, while time-based recall before that date still finds it.

Instructions

End an entry that no longer applies and that nothing replaces (a project closed, a source withdrawn): the entry gets valid_to (now, or the given time) and drops out of knowmind_recall, while knowmind_recall_at_time before that time still finds it. Nothing is deleted and no new entry is created. When a newer statement replaces the entry, use knowmind_update_fact instead. Calling it again changes nothing. Requires write scope.

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it ends (e.g. 'source withdrawn'); stored with the entry.
valid_toNoISO-8601 time with time zone from which the entry no longer applies; defaults to now. Example: '2026-10-11T22:10:00+02:00'.
target_idYesID of the entry to end; get it via knowmind_recall - never invent it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.6

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description earnestly backs them up: 'nothing is deleted', 'no new entry is created', and repeated calls change nothing. It also adds the non-obvious recall interaction and the write-scope requirement, which the annotations do not carry. Only gap is no guidance on failure modes (unknown or already-ended target_id beyond the no-op case).

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 decision rule, then consequences, then the alternative and the safety caveats. Dense and free of filler, though the single long run-on sentence with multiple semicolon clauses is slightly harder to scan than it could be.

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

Completeness5/5

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

For a three-parameter mutation with no output schema, the description covers what is written, what disappears from recall, what remains queryable via recall_at_time, idempotency, and auth scope. Nothing an agent needs in order to invoke it correctly is missing.

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% and all three parameters are documented in the schema. The description adds meaningful semantics for valid_to ('now, or the given time') and thus backdating behavior, but says nothing about the reason field beyond what its schema text already states. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb ('End') and resource ('an entry'), plus the precise condition ('no longer applies and nothing replaces it') and the mechanism (sets valid_to, drops out of recall). It explicitly separates itself from knowmind_update_fact, so an agent can route between the two without opening either 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 both sides of the routing decision: use this when nothing replaces the entry (project closed, source withdrawn), and use knowmind_update_fact when a newer statement replaces it. Also notes the recall_at_time exception, which is the main reason an agent might hesitate to call it.

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