Skip to main content
Glama

Undefine items to raw bytes

undefine

Convert defined items at specified addresses back to raw bytes in IDA, clearing code or data definitions so the original bytes can be reanalyzed or patched.

Instructions

Undefine item(s) at address(es), converting back to raw bytes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
instance_idNoOptional database instance id. If omitted, use the current target.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv20261008.0.1

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It says the tool converts items back to raw bytes, which implies mutation, but does not state whether the operation is destructive, reversible, requires saving, affects existing names/comments, or what side effects occur. For a mutation tool with zero annotation coverage, this is a significant omission.

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

Conciseness5/5

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

The description is a single front-loaded sentence with no filler. Every word contributes to stating the action and its result, making it appropriately sized for a brief tool 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 no annotations and 50% schema coverage, the description is too thin. It does not mention the optional instance_id, whether a save is required, or what happens to existing definitions, leaving key behavioral and operational context absent despite the presence of an output schema.

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 only 50%, and the description adds no parameter details beyond repeating 'address(es)'. It does not explain the relationship between addr, size, and end, nor how the items array or object is interpreted, leaving the schema to carry the remaining burden without compensation.

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 (undefine) and resource (item(s) at address(es)) and clarifies the outcome (converting back to raw bytes). It is clear what the tool does, though it does not explicitly differentiate itself from related siblings like define_code or make_data.

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 alternatives, no prerequisites, and no exclusions. The agent can only infer usage from the action verb itself; the description does not say to use this to revert defined items, or warn against using it on already-raw bytes.

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