Skip to main content
Glama

load_elf

Load an ELF or AXF file to resolve symbol names for debugging. Use variable names to read/write variables and function names to set breakpoints.

Instructions

加载 ELF/AXF 文件用于符号名解析。 加载后可以使用变量名读写变量、使用函数名设置断点。

Keil 生成路径示例: C:/Projects/MyProject/Objects/MyProject.axf CLion/CMake 生成路径示例: C:/Projects/MyProject/cmake-build-debug/MyProject.elf

Args: elf_path: ELF 文件完整路径(.elf 或 .axf)。

Returns: 加载结果,包含符号数量、变量数量、是否包含 DWARF 调试信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
elf_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description partially covers behavior: it mentions enabling symbol resolution and return data (symbol count, variable count, DWARF info). However, it does not disclose failure scenarios, whether it clears previous symbols, or any side effects like memory usage.

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?

Description is well-structured with Args/Returns sections and examples, but is slightly lengthy. Every sentence adds value, though some detail could be condensed.

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

Completeness4/5

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

Given the tool's role as a loader for symbol resolution, the description sufficiently covers purpose and usage. The output schema is referenced, and sibling tools contextualize its importance. Could mention prerequisites like connection status, but overall complete.

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

Parameters4/5

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

The sole parameter elf_path has 0% schema description coverage, but the description adds file extensions (.elf/.axf), clarifies it requires the full path, and provides concrete path examples, adding significant meaning beyond the schema.

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 clearly states the tool loads ELF/AXF files for symbol name resolution, enabling variable and function name usage. It distinguishes from sibling tools by being a prerequisite for symbol-dependent operations like read_variable and set_breakpoint.

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?

Provides explicit context for when to use the tool (before variable/function symbol resolution) and includes typical path examples. Does not explicitly state when not to use or list alternatives, but the sibling tool names imply its foundational role.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xun123456/jlink-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server