Skip to main content
Glama

why_did_you_mention

Explains why a topic surfaced in memory recall by searching recall logs for a query, helping trace the source of AI agent context.

Instructions

Explain why a topic surfaced by searching recall logs.

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": {
      "query": "<query>"
    },
    "name": "why_did_you_mention"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It hints at a read-only operation by saying 'searching recall logs', which suggests non-mutating behavior, but it does not state what the explanation looks like, whether there are costs or limits, or any permission requirements. This is minimally adequate but thin.

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 a single, front-loaded sentence with no wasted words. It is appropriately concise for its content, though the brevity comes at the cost of necessary detail.

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?

For a simple one-parameter explanation tool with no output schema, the description is minimally adequate: it states the purpose and mechanism. It omits parameter clarification and any description of the return value or behavior, which an agent would need to call it confidently.

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?

There is one required parameter, 'query', with 0% schema description coverage. The description mentions 'a topic' which loosely suggests the query might be the topic to explain, but it never clarifies the parameter's meaning, format, or whether it is a topic name versus a search string. It does not compensate for the missing schema documentation.

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?

The description states a specific verb ('Explain') and resource ('why a topic surfaced by searching recall logs'), making the tool's diagnostic purpose clear. However, it does not distinguish this tool from similar siblings like explain_memory or recall_detail, so an agent must infer the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage: it is for explaining why a topic surfaced, likely after a recall. It provides context but no explicit when-to-use versus alternatives, no preconditions, and no exclusions, leaving the agent to infer when to pick this over related tools.

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