Skip to main content
Glama
bartest5

JADX-MCP-SERVER

by bartest5

Rename Field

rename_field

Rename a specific field in a given class to clarify decompiled Android APK code during reverse engineering.

Instructions

Renames a specific field.

Input Schema

NameRequiredDescriptionDefault
new_nameYes
class_nameYes
field_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It only says the tool renames a field, without explaining what else changes, whether references are updated, whether the operation is reversible, or what permissions are needed.

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 a single short sentence with no wasted words and is front-loaded with the action. It is concise, though 'specific' adds little meaning and the brevity leaves no room for useful context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is not required. However, for a mutation tool with no annotations and three completely undocumented required parameters, the four-word description is insufficient to help an agent invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and all three required parameters (class_name, field_name, new_name) are undocumented in the schema. The description does not explain what any of these parameters mean or how class_name and field_name interact.

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?

States a specific verb and resource: renaming a field. It distinguishes itself from sibling rename tools like rename_class, rename_method, and rename_variable by naming the field as the target, though 'specific field' remains somewhat vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives such as rename_variable or rename_class. There are no prerequisites, exclusions, or contextual cues about when renaming a field is appropriate.

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