Skip to main content
Glama

skim_expand

Retrieve exact source lines for specified anchor IDs or line ranges from a previous skim_open result, enabling precise expansion of selected content.

Instructions

Return exact, verbatim source lines for one or more anchor ids from a skim_open result.

Items can be anchor ids ("a7") or literal line ranges ("L120-180", 1-based inclusive) - ranges work even for lines shown in the skeleton, e.g. when a grep gave you line numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYes
anchorsYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states it returns exact verbatim lines and that ranges work for skeleton lines. It does not disclose error behavior, prerequisites beyond a handle, or idempotency. Minimal behavioral context.

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?

The description is two sentences: the first states the core purpose, the second adds details on input types. Every sentence is necessary, no fluff. Front-loaded with key information.

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

Completeness3/5

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

The tool is simple (2 string parameters, no output schema). The description covers what the tool returns and acceptable inputs, but lacks details on handle validity, error handling, or ordering. It is adequate but not fully complete for an agent.

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?

The description explains the 'anchors' parameter can be anchor ids or literal line ranges, adding meaning beyond the schema. However, the 'handle' parameter is not described (only implied from context), and schema coverage is 0%, so the description partially compensates.

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 clearly states the tool returns exact verbatim source lines for anchor ids from a skim_open result. It specifies the verb 'return' and resource 'source lines', and distinguishes from siblings by mentioning skim_open as the source.

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

Usage Guidelines3/5

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

The description implies the tool should be used after skim_open by referencing 'from a skim_open result', and explains acceptable input types (anchor ids or line ranges). However, it does not explicitly state when not to use it or mention alternatives like skim_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/helloderekg/skim-mcp'

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