extractMethodPreview
Preview an extract method refactoring proposal for ABAP code before applying changes.
Instructions
Previews an extract method refactoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal | Yes | The extract method proposal. |
Preview an extract method refactoring proposal for ABAP code before applying changes.
Previews an extract method refactoring.
| Name | Required | Description | Default |
|---|---|---|---|
| proposal | Yes | The extract method proposal. |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It only states that the tool 'previews' a refactoring, but it does not explicitly state that this is a non-mutating, read-only operation, nor does it describe what the preview includes or any permissions required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, grammatically complete sentence with no fluff. It is efficiently front-loaded with the action and target, though it might be slightly under-specified in content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of an output schema, the description does not explain what the preview returns or how the agent should interpret the result. It also does not mention any side effects or preconditions, leaving the tool functionally opaque for a one-parameter, no-annotation operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides 100% coverage for the single 'proposal' parameter with the description 'The extract method proposal.' The tool description adds no further semantic meaning about the proposal format or how it is used in the preview, so this dimension is adequately served by the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Previews' and names the resource 'extract method refactoring,' which clearly distinguishes this from sibling tools like extractMethodExecute and extractMethodEvaluate. However, it does not elaborate on what the preview entails, so it is not as complete as it could be.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus the sibling tools extractMethodExecute or extractMethodEvaluate. No prerequisites, alternatives, or context are mentioned, leaving the agent without direction on selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rohitvardhanbattula/mcp-adt-extension'
If you have feedback or need assistance with the MCP directory API, please join our Discord server