Skip to main content
Glama
santanusinha

neovim-use-mcp

by santanusinha

Get LSP diagnostics

nvim_diagnostics
Read-onlyIdempotent

Retrieve LSP errors and warnings for a file or all open buffers, enabling quick verification after code edits.

Instructions

Get LSP errors and warnings for one file, or for every open buffer when path is omitted. Use this to check work after an edit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile path; omit for all open buffers
wait_msNoSettle time
severityNoLowest severity to report, default hint
Behavior3/5

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

Annotations already declare the tool as read-only, idempotent, and non-destructive. The description adds a behavioral trait: omitting the path returns diagnostics for all open buffers, which goes beyond the schema. However, it does not disclose other potential behaviors like rate limits or detailed response formatting, so it earns a mid-range score.

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 concise (two sentences) and front-loaded with the core action. Every word earns its place, and it avoids redundancy with the schema.

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?

For a read-only diagnostics tool with three optional parameters and no output schema, the description is sufficient. It states what the tool does, when to use it, and the key behavior of path omission. It lacks return value details, but without an output schema and given the simple nature, this is acceptable.

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%, with every parameter (path, wait_ms, severity) already described. The description adds no parameter-specific details beyond what the schema provides, so the baseline score of 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?

The description clearly states the tool's purpose with a specific verb and resource: 'Get LSP errors and warnings'. It also distinguishes the tool from siblings by describing scope variations (one file or all open buffers).

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?

The description provides clear context for when to use ('Use this to check work after an edit'), which is more than implied but does not explicitly mention alternatives or when not to use it. Since no sibling tool directly competes, this is adequate.

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/santanusinha/neovim-use-mcp'

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