Skip to main content
Glama

roslyn:get_method_overloads

Retrieve all overloaded method signatures with parameter details to help select the appropriate version when multiple options exist in .NET/C# code.

Instructions

Get all overloads of a method. Returns list of signatures with parameter details. Use when you need to choose between overloads. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to source file
lineYesZero-based line number
columnYesZero-based column number
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing critical behavioral traits: it specifies the return format (list of signatures with parameter details) and importantly warns about 'ZERO-BASED coordinates (editor line - 1)', which is essential usage context not evident from the schema alone. It doesn't mention error conditions, performance, or other constraints, but covers key operational aspects.

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?

Three sentences with zero waste: first states purpose and return format, second provides usage guidance, third gives critical implementation detail. Every sentence earns its place, and the most important information (zero-based coordinates warning) is appropriately emphasized with 'IMPORTANT:'.

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 tool with no annotations and no output schema, the description provides good coverage: clear purpose, usage context, return format specification, and critical parameter usage warning. It doesn't describe error cases or pagination/limitations, but given the tool's relative simplicity and the schema's good coverage, this is reasonably complete.

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%, so the schema already documents all three parameters thoroughly. The description adds the important clarification about zero-based coordinates, which provides context for the 'line' and 'column' parameters, but doesn't add significant semantic value beyond what the schema descriptions already state for each parameter individually.

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 ('Get') and resource ('all overloads of a method'), specifies the return format ('list of signatures with parameter details'), and distinguishes this tool from siblings like 'get_method_signature' (which likely gets a single signature) or 'analyze_method' (which likely provides analysis rather than just overload listings).

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 explicit usage context ('Use when you need to choose between overloads'), which clearly indicates when this tool is appropriate. However, it doesn't specify when NOT to use it or name specific alternative tools among the many siblings, though the purpose differentiation is implied.

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/pzalutski-pixel/sharplens-mcp'

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