Skip to main content
Glama

Valuein — SEC EDGAR Fundamentals & Smart-Money Data

Delete Agent Memory

delete_agent_memory
DestructiveIdempotent

Forget ONE durable memory entry by key — use it when a note you stored is now wrong, superseded, or was only ever scratch. Every entry is re-read into your context at the start of every future run, so leaving a stale one behind means re-grounding yourself in something false; deleting is the correction. Idempotent: deleting a key that is not there returns deleted:false, not an error. Also how you free a slot when the 200-entry cap is reached. This removes only YOUR memory note — it never touches a thesis, claim, report, or any financial fact. Tier: sp500+ (sample rejected).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe memory key to forget. Discover keys with get_agent_memory (no key = list all).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
_metaYesProvenance envelope — data lineage for every MCP response
deletedYestrue if an entry existed and was removed; false if the key was already absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / _meta / properties / fundamentals_as_of / description
      Previous value: -"ISO timestamp when the FINANCIAL STATEMENTS were last rebuilt. Use THIS — not `last_updated` — when telling a user how current the fundamentals are. The snapshot is republished on every weekday price refresh while the statements are carried forward unchanged, so `last_updated` can be far more recent than the numbers it sits next to."New value: +"ISO timestamp when the FINANCIAL STATEMENTS were last rebuilt in bulk. Use THIS — not `last_updated` — when telling a user how current the cross-sectional fundamentals are. The snapshot is republished on every weekday price refresh while the statements are carried forward unchanged, so `last_updated` can be far more recent than the numbers it sits next to. It is a floor for a single filer, not a ceiling: a filer with a live partition receives its filing, facts and ratios intraday (minutes after EDGAR dissemination), so an entity-scoped read may carry a filing newer than this; cross-sectional ranks (factor scores, earnings signals) refresh with the weekly bulk export."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Even though destructiveHint=true, idempotentHint=true, and readOnlyHint=false already exist in annotations, the description adds significant behavioral context: every memory entry is re-read at the start of each run, so stale entries cause false re-grounding; deleting a missing key returns deleted:false rather than an error; the 200-entry cap; scope limited to YOUR memory note; and tier restriction (sp500+). This goes well beyond the annotations.

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 description is front-loaded with the core action and use condition, followed by rationale, idempotency, capacity, scope, and tier. Every sentence adds information, though the tier line ('sp500+ (sample rejected)') is a bit cryptic and the whole text is denser than strictly necessary. Still well structured and not padded.

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?

With only one required parameter, a complete schema, an output schema, and annotations already covering destructive/idempotent, the description covers everything else: when to delete, why it matters, idempotent behavior on missing keys, the 200-entry cap, scope safety, and access tier. An agent lacks nothing needed to invoke this correctly.

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 description coverage is 100%, and the schema itself describes the key parameter well ('The memory key to forget. Discover keys with get_agent_memory (no key = list all).'). The tool description adds 'ONE durable' and 'your memory note' but does not materially extend the schema's parameter semantics. Baseline 3 is appropriate.

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 and resource: 'Forget ONE durable memory entry by key.' It also distinguishes from siblings by explicitly saying it never touches a thesis, claim, report, or financial fact, which separates it from delete_claim, delete_report, delete_thesis, etc. An agent can instantly tell this is for memory notes only.

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 conditions for use: when a stored note is wrong, superseded, or was only scratch; when freeing a slot under the 200-entry cap. It also states what this tool does NOT do (never touches thesis/claim/report/financial fact), providing a clear when-not-to-use boundary against sibling tools.

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.