Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by ronda.

Moved to com.useronda/ronda

Search code

search_code
Read-onlyIdempotent

Search the sandbox repository for text (literal by default, or regex) and return matching file, line number and line text. Respects .gitignore, skips .env files. Use to find where copy, components or styles live. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
globNoOnly search files matching this glob, e.g. "*.tsx".
pathNoRestrict the search to this directory or file (repo-relative).
queryYesText to find. Literal by default; set regex:true for a regular expression.
regexNotrue to treat query as a regular expression (default false: literal text).
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sessionIdYesThe ronda session id, from open_session or list_sessions.
maxResultsNoDefault 50.
caseSensitiveNoDefault false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds information the annotations do not carry: .gitignore is respected and .env files are skipped, which materially affects what results an agent will and won't see. It does not discuss result truncation or ordering, keeping it below a 5.

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?

Three short sentences, front-loaded with what it does, then return shape, then filtering behavior, then usage. No filler, no repetition, and the operational constraints are grouped logically.

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 9-parameter read tool with no output schema, the description supplies the return shape and the two filtering behaviors an agent most needs to predict results. The instrumentation parameters (context, llm_model, sessionId) are explained in the schema, so their absence from the description is not a real gap. Result ordering and truncation behavior are the remaining omission.

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 glob, path, regex, maxResults and caseSensitive all documented at the parameter level, so the baseline is 3. The description restates the literal-vs-regex default already present in the schema and adds no new meaning for path, glob, or result limits.

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 ("search the sandbox repository for text") plus the exact return shape ("matching file, line number and line text"), so an agent knows what it gets back without opening a schema. The literal-by-default vs. regex distinction and the .gitignore/.env scoping further pin down which search this is, distinguishing it clearly from list_files or read_file.

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?

"Use to find where copy, components or styles live" gives concrete when-to-use context, and the definition clarifies which search modes exist. It stops short of naming an alternative tool or stating when not to use it (e.g., for locating a known path, use read_file/list_files), so the routing guidance is clear but not complete.

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.

Resources