Skip to main content
Glama
Hollway

mcp-abap-abap-adt-api

by Hollway

extractMethodPreview

Read-only

Preview the code changes for an extract method refactoring before applying them. See the new signature and updated call site, then agree or reject.

Instructions

Second step of extract-method: the edits the refactoring would make, from the evaluation you pass back in. Still nothing written - this is where the new signature and the changed call site can be read before agreeing to them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proposalYesThe extract method proposal returned by extractMethodEvaluate, as a JSON string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior5/5

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

The description explicitly says 'Still nothing written' and frames the tool as a preview before agreeing, which adds meaningful no-side-effect context beyond the readOnlyHint and destructiveHint annotations. It also tells agents what they will be able to inspect before committing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the workflow position and purpose. The first clause is grammatically awkward, but every sentence contributes necessary 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?

For a one-parameter read-only preview tool, the description covers what the feature is, what input it expects, what it shows, and that it writes nothing. It does not specify the response format, but no output schema exists and the description still gives enough for an agent to use it correctly.

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?

The input schema already documents the proposal parameter as the extract method proposal returned by extractMethodEvaluate, so description coverage is high. The phrase 'evaluation you pass back in' adds workflow emphasis but not much new parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool as the second step of extract-method and says it exposes the edits, new signature, and changed call site. It lacks a clean verb like 'shows' or 'previews', but the resource and refactoring context are clear.

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?

Calling it the 'second step' and saying the input comes from the evaluation you pass back in clearly places it after extractMethodEvaluate,infer that it should be used before agreeing to the refactoring. It does not explicitly name extractMethodExecute as the follow-up, but the sequence is strongly implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools