Skip to main content
Glama
chacharin

mcp-lightrag

by chacharin

search_labels

Search entity labels with fuzzy matching to locate relevant entities before querying the knowledge graph.

Instructions

Find entity labels whose name fuzzy-matches a search string. Use this to locate entities related to a topic before asking about them with query, or before get_knowledge_graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesSearch text to fuzzy-match against entity labels, e.g. 'DIME'.
limitNoMaximum number of matching labels to return.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does reveal that matching is fuzzy and that the operation is a lookup, which is useful, but it doesn't mention ordering, uniqueness, case sensitivity, or whether the operation is safely read-only.

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?

Two succinct sentences: the first states the core behavior, the second gives practical usage guidance. Every phrase earns its place, and the most important information is front-loaded.

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?

The tool is simple, has a full input schema and output schema, and the description explains its role relative to query and get_knowledge_graph. It could better distinguish from label-oriented sibling tools, but this is a minor gap given the simplicity of the operation.

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 input schema already documents q and limit clearly. The description reinforces that matching is fuzzy but adds no new parameter-level details beyond what the schema provides.

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 opens with a concrete verb and resource ('Find entity labels... fuzzy-matches'), making the action and scope clear. It doesn't explicitly distinguish this tool from label-related siblings like get_graph_labels or check_entity_exists, though the fuzzy-match framing helps.

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 gives a clear usage context: locate topic-related entities before calling query or get_knowledge_graph. It doesn't state when not to use the tool or explicitly name alternative siblings, but the intended placement in a workflow is evident.

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