Skip to main content
Glama

decomp.global.rename

Renames a global symbol identified by decompiler high-symbol information so you can correct or clarify symbol names in a Ghidra analysis session.

Instructions

Rename a global symbol selected through decompiler high-symbol information.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>",
      "function_start": "<function_start>",
      "name": "<name>",
      "new_name": "<new_name>"
    },
    "name": "decomp.global.rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
storageNo
new_nameYes
session_idYes
timeout_secsNo
function_startYes

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 behavioral burden. It does not say whether the rename mutates persistent state or only an in-session view, what happens on name collisions, whether writeback is required, or what error conditions exist for a 6-parameter mutation tool. Only the single word "Rename" signals mutability.

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?

It is a single front-loaded sentence with no filler, which is structurally clean. But the brevity comes at the cost of specification rather than from efficiency, so it is under-specified rather than genuinely concise.

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 mutation tool with six parameters, zero schema documentation, no annotations, and no output schema, this description is far too thin. An agent would have to guess at parameter meaning, side effects, and failure modes before it could safely invoke it.

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 6 parameters, so the description must compensate and it does not. It never mentions function_start, storage, session_id, or timeout_secs, and it does not explain the distinction between name and new_name or how the symbol is resolved.

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 specific verb and resource ("Rename a global symbol") and hints at the selection mechanism ("decompiler high-symbol information"), which is more than a tautology. However, it does not distinguish this from close siblings like symbol.rename, variable.rename, or function.rename, so an agent cannot tell why it should pick this tool over those.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative. The phrase "selected through decompiler high-symbol information" gestures at a context but does not tell the agent what conditions must hold (e.g., a decompiler session with high symbols available) before calling.

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