Skip to main content
Glama

decomp.global.retype

Retype a selected global symbol using decompiler high-symbol data to correct its data type and improve decompilation accuracy.

Instructions

Retype 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>",
      "data_type": "<data_type>"
    },
    "name": "decomp.global.retype"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
storageNo
data_typeYes
session_idYes
timeout_secsNo
function_startYes

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, yet it does not state that this is a mutation, whether the type change propagates, whether it is reversible, what permissions are required, or what errors may occur. Only the word 'Retype' implies a change.

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 definition is a single, front-loaded sentence with no filler or repetition. It is concise and readable, though its brevity contributes to the missing operational detail rather than to a well-structured complete definition.

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, four required, no annotations, no output schema, and zero schema description coverage, a single sentence is not enough. It establishes the basic purpose but omits selection rules, parameter roles, side effects, and error behavior.

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% across six parameters, and the description does not explain the roles or formats of `session_id`, `function_start`, `name`, `data_type`, `storage`, or `timeout_secs`. It only weakly implies that `data_type` is involved, leaving most parameter semantics undocumented.

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 states a specific verb, 'Retype', and resource, 'global symbol', and adds that the symbol is selected through decompiler high-symbol information. This distinguishes it from `variable.retype` by global scope, though it does not explicitly differentiate from `decomp.global.rename`.

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 tool versus `decomp.global.rename` or `variable.retype`, nor any prerequisites or when-not conditions. The selection context is mentioned, but it does not tell the agent how to choose this operation over alternatives.

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