Skip to main content
Glama

inspect_elf_header

Read ELF file headers to verify firmware architecture, entry point, and section details before flashing or debugging ARM embedded targets.

Instructions

Inspect ELF file header information.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inspect_elf_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
elf_fileNo
elf_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.6/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 and delivers one sentence. It does not say whether the file is read from disk or supplied in memory, whether the tool is read-only and safe, what errors occur on a malformed or missing file, or which header fields are returned.

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

Conciseness3/5

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

The single sentence is front-loaded and free of redundancy, but that brevity is under-specification rather than economy — nothing earns back the information the tool needs.

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?

Without annotations, output schema, or documented parameters, the description should explain input modes and return content; it does neither. For a tool whose entire value is the shape of the returned header, this leaves an agent unable to predict the result.

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 coverage is 0% and the description adds nothing about the two parameters. The critical ambiguity between elf_file (raw content?) and elf_path (filesystem path) is left unresolved, and both being optional with no stated precedence makes a mis-call likely.

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 names a specific resource (ELF file header) and a verb (inspect), which distinguishes it from siblings such as inspect_elf_sections, inspect_elf_segments and inspect_elf_symbols, which target other parts of the binary. It stops short of saying what header fields are surfaced, but the scope is clear enough to select the tool.

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, no prerequisites (must the ELF be loaded? must the path exist?), and no mention of when inspect_all_elf_headers or inspect_file_format would be preferable. The agent must infer usage entirely from the name.

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