Skip to main content
Glama

load_elf_symbols

Loads debugging symbols from an ELF file into GDB without flashing the target, enabling source-level inspection and breakpoint setup for embedded firmware.

Instructions

Load symbols from an ELF file into GDB; this does not flash the target.

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": {
      "elf_path": "<elf_path>"
    },
    "name": "load_elf_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
elf_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose the key safety fact that no target flashing occurs, which prevents an accidental hardware write. It does not say whether an active GDB connection is required, whether previously loaded symbols are replaced, or what happens if elf_path is invalid.

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?

A single compact sentence with the primary action front-loaded and the disambiguating caveat second. Every clause earns its place; nothing is redundant with the name.

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

Completeness3/5

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

For a one-parameter tool with no output schema this covers the essentials: what it does and what it does not touch. The missing piece is the prerequisite of a connected GDB session and any failure behavior, which matters for a tool that mutates debugger state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single elf_path parameter, and the description only implies it is the path to an ELF file without specifying absolute vs relative paths, file-existence expectations, or format constraints. The meaning is inferable but not enriched beyond the parameter name.

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

Purpose5/5

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

The description states a specific verb and resource ('Load symbols from an ELF file') plus the destination ('into GDB'), so the agent knows exactly what state is affected. The trailing clause 'this does not flash the target' explicitly separates it from the flash_elf sibling, which is the most likely confusion point.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is clear from context: use this when a GDB session needs symbol information from an ELF file, and the negative clause rules out the flash workflow. It stops short of naming alternatives such as inspect_elf_symbols for read-only symbol inspection, so the routing is implied rather than exhaustive.

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