Skip to main content
Glama
amalikn

smart-coding-mcp

by amalikn

a_semantic_search

Read-onlyIdempotent

Find code by meaning with hybrid semantic and exact text matching, returning relevant snippets with file locations and line numbers.

Instructions

Performs intelligent hybrid code search combining semantic understanding with exact text matching. Ideal for finding code by meaning (e.g., 'authentication logic', 'database queries') even with typos or variations. Returns the most relevant code snippets with file locations and line numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query - can be natural language (e.g., 'where do we handle user login') or specific terms
maxResultsNoMaximum number of results to return (default: from config)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.3.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds meaningful behavioral context beyond annotations: hybrid matching, tolerance to typos/variations, and the return shape. No contradiction with annotations.

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 concise sentences with no filler. The main action is front-loaded, the use case is stated in the second sentence, and the output behavior is summarized in the third. Every sentence earns its place.

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?

With no output schema, the description appropriately explains what the tool returns. It could have mentioned any dependency on a pre-built index or relationship to b_index_codebase, but that is inferable from the sibling set and is not a major gap for a two-parameter search tool.

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 the description does not need to re-document parameters. It adds value by explaining that the query can be natural language or specific terms and that semantic matching tolerates typos and variations, which directly informs how to set the query parameter.

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 states a specific verb and resource: 'Performs intelligent hybrid code search' on code, and clarifies the distinguishing mechanism ('semantic understanding with exact text matching'). It is immediately distinguishable from siblings like b_index_codebase and f_get_status. It also tells the agent what the tool returns: relevant code snippets with locations and line numbers.

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 clear usage context: use for finding code by meaning, even with typos or variations, with relevant natural language examples. It does not explicitly name alternatives or state when not to use this tool, so it falls just short of a 5.

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

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/amalikn/smart-coding-mcp'

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