Skip to main content
Glama
ltspace

dowse

by ltspace

preview

Read-only

Retrieves an extended context (approx. 1500 characters) of query matches in a file, including file size, modification date, and type. Use with a path from search results and the query for highlighting.

Instructions

取某个文件在索引里命中查询词的完整上下文(约 1500 字,比 search 返回的摘要长得多),附带文件大小/修改时间/类型。path 用 search 结果里的 path 字段。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes目标文件的完整路径,取自 search 结果里的 path 字段
queryYes定位高亮用的查询词,通常和 search 时用的一致
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no destructive behavior. Description adds specifics: returns ~1500-word context, file size/mod time/type, which is valuable beyond the annotation.

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 concise sentences front-load the main purpose and key details. No extraneous words.

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?

Given no output schema, description adequately explains return value (context and metadata). Sufficient for a preview tool with clear inputs.

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 covers both parameters with descriptions, and description reinforces that path comes from search results and query should match search. Adds clarity without contradicting schema.

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?

Description clearly states it retrieves full context of query hits (about 1500 chars), longer than search summary, plus file metadata. It explicitly distinguishes from sibling tool 'search' by noting the longer context.

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?

Explicitly tells when to use (need full context around hits) and how to use: path from search results, query consistent with search. Provides alternatives by contrasting with search.

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/ltspace/dowse'

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