Skip to main content
Glama
zlx-cyber

JADX-MCP-SERVER

by zlx-cyber

rename_variable

Renames a specific variable in a method given class, method, variable, and new name, helping clarify decompiled Android code during reverse engineering.

Instructions

Renames a specific variable in a method.

Input Schema

NameRequiredDescriptionDefault
regNo
ssaNo
new_nameYes
class_nameYes
method_nameYes
variable_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?

With no annotations, the description carries the entire burden, yet it says nothing beyond the mutation itself. It does not disclose whether the rename propagates to all references/uses, whether it is reversible, what happens on a name collision, or what permissions or cache invalidation are involved.

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

Conciseness3/5

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

One short, front-loaded sentence with no filler, which is structurally clean. But the brevity comes at the cost of substance rather than from efficient packaging of detail, so it reads as under-specified rather than tight.

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?

For a six-parameter mutation tool with zero annotation coverage and zero schema documentation, the description is far too thin; only an output schema exists to relieve it. The agent gets no help on the two undocumented optional parameters or on the semantics of the rename operation itself.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, and only class_name/method_name/variable_name are faintly implied by the sentence. The opaque optional parameters reg (register) and ssa (SSA form) receive no explanation anywhere, and no format or identifier conventions are given.

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?

It states a specific verb (renames) and resource (a variable scoped to a method), so the intent is unambiguous. However, it does not distinguish itself from its obvious siblings rename_field, rename_method, and rename_class, leaving the agent to infer the boundary from names alone.

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?

There is no guidance on when to use this versus rename_field or rename_method, and no stated prerequisites (must the method already exist, must the variable be in scope). The phrase 'in a method' implies scoping but nothing about conditions or alternatives.

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