Skip to main content
Glama
space-bacon

Sunstone Weave: Local Semantic Code Search

Search the weave

weave_search
Read-only

Search woven code and docs folders in plain language to locate definitions, handlers, config, or explanations before grep, returning passages with file, line range, and score.

Instructions

Search the woven folders in plain language: where something is defined, handled, configured or explained. Returns the nearest passages with their file, line range and centred-cosine score. Use it before grep when you do not know the identifier or file name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoHow many passages (default 8)
queryYesWhat to find, in plain words or code
folderNoSearch only this woven folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: the search is semantic/ranked and returns the nearest passages with file, line range, and a centred-cosine score. It says nothing about indexing freshness, latency, or empty-result behavior, so it falls short of 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 tight sentences with the purpose first, return shape second, and routing advice last. No filler, no restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by describing the return payload (passages with file, line range, score). Combined with full schema coverage for parameters and safety annotations, an agent has everything needed to call this correctly.

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 all three parameters (query, k, folder) are already documented in the schema with defaults and bounds. The description adds no syntax, format, or scoping guidance beyond that, so baseline 3 applies.

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 woven folders') and then sharpens the intent with concrete query types ('where something is defined, handled, configured or explained'), which tells an agent exactly what class of question this tool answers. It also distinguishes itself from sibling/adjacent tools by positioning against grep.

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

Usage Guidelines5/5

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

Gives an explicit trigger condition ('when you do not know the identifier or file name') and names the alternative to use otherwise ('before grep'). The when-not case is implied by the same sentence, leaving nothing to inference.

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

Deploy Server

Other Tools