Skip to main content
Glama

memory_for_symbol

Retrieve repository memories linked to a code symbol to understand its usage, history, and contextual information from the codebase.

Instructions

Return repo memories bound to a symbol (or its logical-symbol group).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
refNo
limitNo
symbolNo
allow_ambiguousNo
Behavior2/5

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

With no annotations, the description must carry the burden of behavioral disclosure. It does not mention whether the operation is read-only or destructive, what 'memories' are, or any side effects. The term 'bound' is vague, and there is no information on security, rate limits, or response format.

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 sentence, concise and front-loaded with the core purpose. However, its brevity may sacrifice completeness; it is not a tautology and earns its place.

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

Completeness2/5

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

Given the tool has 5 parameters, no output schema, and no annotations, the description is insufficient to fully inform an agent. It does not explain what 'repo memories' are, how parameters affect results, or what the output looks like.

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?

The input schema has 5 parameters with 0% description coverage, but the description only hints at the 'symbol' parameter. No parameter is explained (e.g., what does 'id' or 'ref' do? How does 'allow_ambiguous' affect results?). The description fails to add meaningful context beyond the schema.

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 clearly states the verb 'return' and the resource 'repo memories' bound to a symbol or its logical-symbol group. It distinguishes the tool from siblings that deal with paths or other entities, but the term 'logical-symbol group' is not explained, which slightly reduces clarity.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus siblings like memory_search or memory_for_path. There are no explicit when-to-use or when-not-to-use instructions, leaving the agent to infer usage from the purpose alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cq27-dev/rag-rat'

If you have feedback or need assistance with the MCP directory API, please join our Discord server