Skip to main content
Glama
imjdl

ghidra-fleet

by imjdl

Rename Data

rename_data

Assigns or updates a data label at a specified address in a binary so Ghidra analyses retain clear symbol names.

Instructions

在指定地址设置/重命名数据标签。

Input Schema

NameRequiredDescriptionDefault
binaryYes
addressYes
new_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 burden, yet it says nothing about whether an existing label is overwritten, whether the address must already have a label, or what errors occur on an invalid address. Mutation semantics and side effects are left entirely undisclosed.

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?

A single short sentence with no waste, but it is under-specified rather than concise; the brevity reflects missing information rather than disciplined editing.

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 values need not be explained, but for a mutation tool with zero annotation coverage, undocumented parameters, and no usage context, the description is not sufficient to call the tool reliably.

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 three required parameters, and the description only gestures at 'address' and implicitly the new name. The 'binary' parameter — which binary the address refers to — is never explained, leaving a critical ambiguity unresolved.

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

Purpose3/5

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

The description names a verb (set/rename) and a resource (data label at an address), which distinguishes it somewhat from siblings like rename_function and rename_variable. However, the dual wording "设置/重命名" leaves it ambiguous whether the tool creates a label or renames an existing one, and it never mentions the 'binary' target that scopes the operation.

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_function, rename_variable, or set_comment, nor any prerequisite such as the binary needing to be loaded or analyzed first. The agent must infer applicability entirely from the name.

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