Skip to main content
Glama
Simonoob
by Simonoob

restart_lsp

Restart all running LSP clients to refresh diagnostics and symbol data after external file changes.

Instructions

Restart all running LSP clients. Use after making changes to files outside Neovim to refresh diagnostics and symbol data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains that the tool restarts all LSP clients and refreshes diagnostics and symbol data. However, it does not disclose potential side effects (e.g., whether running LSPs need to reinitialize or if there are any risks). Given the simplicity of the tool, this is acceptable but not fully transparent.

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 with no extraneous text. It front-loads the action and then provides usage context.

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 the tool has no parameters or output schema, the description adequately covers purpose and usage. It could be more complete by mentioning that it affects all clients, but it is sufficient.

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?

The schea has zero parameters, so the baseline is 4. The description does not need to add parameter information.

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 verb 'restart' and the resource 'all running LSP clients', and it distinguishes from siblings like 'start_lsp' by specifying the action applies to all clients.

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?

It explicitly suggests using the tool after making changes to files outside Neovim to refresh diagnostics and symbol data, providing clear context. It does not specify when not to use it, but the guidance is sufficiently 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/Simonoob/neovim-mcp'

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