Skip to main content
Glama

type.apply_at

Applies a specified data type at a given address in the Ghidra listing, with optional length and clearing of existing types.

Instructions

Apply a data type at an address in the listing.

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>",
      "address": "<address>",
      "data_type": "<data_type>"
    },
    "name": "type.apply_at"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNo
addressYes
data_typeYes
session_idYes
clear_existingNo

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 must carry the full behavioral burden, but it only states the action. It does not explain what happens to any existing type, whether the operation is reversible, what clear_existing controls, or what session_id is required for.

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 single sentence is front-loaded and free of filler, so it is concise. However, its extreme brevity leaves no structure for prerequisites or side effects.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with no annotations, no output schema, and zero schema description coverage, this one-sentence definition is not complete enough. It omits essential operational and parameter context.

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 coverage is 0%, and the description mentions only the address and data type concepts, leaving session_id, length, and clear_existing unexplained. It adds almost no meaning beyond the bare parameter names.

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 uses a specific verb ('Apply'), resource ('data type'), and location ('address in the listing'), so an agent can tell it mutates type information at a listing address. It does not explicitly distinguish itself from siblings such as function.return_type.set or type.define_c, so it stops short of a 5.

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 statement of when to use this tool versus alternatives, nor any prerequisites such as needing an active session or an existing listing. Usage is only implied by the phrase 'at an address in the listing'.

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