Skip to main content
Glama
max-ramas

RMS Memory MCP

rms_code_search

Search a derived semantic code index to retrieve language, file, symbol, and line range for code segments across registered projects.

Instructions

Search only the derived semantic code index. Results include language, file, symbol, kind, line range, and segment index. The code index is optional, so an unindexed project returns an empty result list. Pass projects: [key, …] for read-only cross-project code federation (when both project and projects are set, projects wins); does not change the active bind.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results; default 10, maximum 100.
queryYesThe semantic code query.
projectNoRegistered project key, used when the MCP client did not provide a workspace root. Ignored when `projects` is also set.
projectsNoExplicit list of registered project keys for read-only federated code search (max 8 after dedupe). Does not change the active bind. When set together with `project`, this list wins.
include_contentNoWhether to include indexed code content; default true.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool searches a derived semantic index, returns specific fields, and explains that the projects parameter does not change active bind (read-only). It implies read-only nature but doesn't explicitly state no side effects, which is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at three sentences, front-loading the purpose. Each sentence adds meaningful information without redundancy. It efficiently covers purpose, result fields, index behavior, and parameter nuances.

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?

Given 5 parameters, no output schema, and no nested objects, the description adequately covers purpose, edge cases (unindexed projects), and parameter interactions. However, it does not describe the output format in detail beyond listing fields, and lacks mention of pagination or ordering, which are minor omissions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value beyond schema by explaining the interplay between 'project' and 'projects' parameters, the federation behavior, and the implication of unindexed projects. This provides behavioral context that the schema descriptions lack.

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?

The description clearly states 'Search only the derived semantic code index,' specifying the tool's unique function. It lists result fields and distinguishes from sibling tools like rms_search by emphasizing the 'derived semantic code index' and mentioning 'read-only cross-project code federation.'

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

Usage Guidelines4/5

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

The description provides context on when to use the tool (for semantic code search), mentions that the code index is optional and unindexed projects return empty results, and explains the behavior of project parameters and federation. However, it lacks explicit guidance on when not to use this tool versus alternatives like rms_search.

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/max-ramas/rms-memory-mcp'

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