Skip to main content
Glama

lore_search

Find project nodes by matching path substrings, with optional filters for kind and project.

Instructions

Search nodes in a project by path substring (best-effort).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoOptional kind filter.
queryYesSubstring to match against node paths.
projectNoProject slug (defaults to .lorerc in cwd, then LORE_PROJECT).
Behavior3/5

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

With no annotations, the description bears the full burden. It discloses 'best-effort', indicating non-guaranteed matching. However, it omits details on permissions, case sensitivity, or pagination, which are relevant for a search operation.

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 with no fluff, including the useful qualifier 'best-effort'. It is appropriately concise but could benefit from a brief note on return format.

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 no output schema and no annotations, the description does not explain what the search returns (e.g., list of matched nodes). For a search tool, this is a notable gap that hinders an agent's understanding of the result.

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%, so the baseline applies. The description adds no extra meaning beyond the input schema; 'path substring' aligns with the query parameter. No additional parameter context is provided.

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 tool searches nodes by path substring and uses 'best-effort' to indicate non-guaranteed results. It is specific to searching, but does not explicitly differentiate from sibling tools like lore_tree which might also list nodes.

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 given on when to use this tool versus alternatives like lore_tree or lore_projects. The description does not mention exclusions or prerequisites, leaving the agent to infer usage context.

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/sharedlore-ai/lore-mcp'

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