Skip to main content
Glama
dpc00

Phil's ST MCP

by dpc00

select_lines

Select lines in Sublime Text by specifying a start line and an optional end line (1-based inclusive). If no end is given, selects a single line.

Instructions

Select lines begin through end (1-based, inclusive). end defaults to begin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beginYes
endNo
Behavior2/5

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

No annotations provided; description does not disclose behavioral traits such as whether selection replaces current selection, impacts UI, or requires permissions. Minimal burden falls on description.

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?

Single sentence with no wasted words. Front-loaded with action and parameters, then default behavior. Highly efficient.

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 simplicity (no output schema, 2 params), description covers essential semantics. However, missing context like what 'select' means (e.g., does it set a selection state or return data?) could be clarified for completeness.

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?

Adds meaningful info beyond schema: 'begin' is 1-based inclusive, 'end' defaults to 'begin', and both params range over line numbers. Schema has 0% description coverage, so description compensates well.

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?

Clearly states the tool selects lines within a range, with 1-based inclusive indices. Differentiates from siblings like 'fold_lines' or 'goto_line' by specifying a selection action.

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?

Provides basic functionality but no explicit guidance on when to use this tool over alternatives like 'get_selection' or 'goto_line'. Implied usage for line range selection is clear.

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/dpc00/sublime-mcp'

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