Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Search long-term memories about the user

search_memory
Read-only

Retrieve relevant prior memories about this user.

CALL search_memory at the START of any conversation where the user:

  • References past context ("like we discussed", "remember when", "last time")

  • Asks for advice that should reflect their preferences

  • Describes a trading problem where their history is relevant

  • Mentions anything you might have recorded before

Default to calling this tool more often than you think you should. It is cheap, scoped to this user only, and returning zero results is fine.

Memories are historical reports, not current selection authority. A recalled strategy/account name does not resolve an unbound "this strategy" in a new conversation. Preserve an explicit attachment or selection in this chat; otherwise discover owned candidates without a remembered-name filter and clarify ambiguity. Verify current state through its owning tools.

Input Schema

NameRequiredDescriptionDefault
limitNoMax memories to return. Defaults to 5.
queryYesNatural language query to find relevant prior memories. Examples: 'What strategies has the user built before?' 'Does the user prefer aggressive or conservative trading?' 'What was the user's last concern about risk?' Returns up to `limit` matching memories ordered by relevance.
filtersNoNarrow results by metadata tags. Example: {"strategy_id": "abc"} returns only memories tagged with that strategy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, so the description carries real added weight: it discloses scoping (this user only), cost profile, and the acceptability of an empty result set. It further warns that memories are historical reports rather than current selection authority, and that current state must be verified through owning tools — a non-obvious caveat about how to interpret output.

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?

Purpose is front-loaded in the first line, followed by a scannable trigger list and a short caveat paragraph — no filler. The closing passage on selection authority is somewhat discursive relative to the invocation decision, keeping it just below top marks.

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 3-parameter read tool with a readOnly annotation and no output schema, the definition covers when to call, cost, scope, and how to treat results. Return shape is only described incidentally inside the `query` schema text, and there is no guidance on choosing `limit` or on filter key conventions, leaving a small gap.

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%, with the `query` parameter already documenting examples and ordering, and `filters` documenting its metadata-tag behavior. The description adds only an oblique hint about discovery ('without a remembered-name filter'); it says nothing about `limit` tuning or query phrasing beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Retrieve relevant prior memories about this user' — with scope (this user only) made explicit. It does not, however, distinguish itself from the close siblings `search_conversation_history` and `remember`, which an agent must otherwise infer from the resource word alone.

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 concrete triggering conditions in a bullet list (past-context references, preference-sensitive advice, trading problems, anything possibly recorded) plus an explicit default policy: 'Default to calling this tool more often than you think you should.' It also pre-empts the main hesitation by noting the call is cheap and zero results are fine.

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.