Skip to main content
Glama

elf_pe_binary_header_security_check

Scans ELF and PE executable headers to verify ASLR, DEP/NX, stack canaries, and RELRO mitigations before sandbox execution, identifying missing exploit protections.

Instructions

Inspects Linux ELF and Windows PE executable headers for ASLR, DEP/NX, Stack Canaries, and RELRO exploit mitigations before sandbox execution. (0.040 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the cost (0.040 USDC) and temporal context (pre-sandbox), but does not explicitly state that the operation is read-only, how failures are handled, or what the output looks like. It is adequate but not rich.

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 focused sentence followed by a cost parenthetical. Every element adds value, the action and scope are front-loaded, and there is no redundant or filler text.

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?

The tool has no output schema and only a generic payload description, yet the description does not clarify how a binary should be passed (e.g., base64, path, URL) or what the returned result contains (pass/fail, risk score, report). This is a meaningful gap for an agent attempting correct invocation.

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 100%, so the baseline is 3. The description does not add meaning beyond the schema for either parameter; it only reinforces payment context. The 'payload' parameter remains generically described as an input string, leaving ambiguity about binary data format.

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 ('Inspects'), a precise resource ('Linux ELF and Windows PE executable headers'), and enumerates the exact mitigation checks (ASLR, DEP/NX, Stack Canaries, RELRO). This clearly differentiates it from sibling tools like validate_code_syntax or scan_dependency_cve, which target other artifact types.

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?

The phrase 'before sandbox execution' provides clear contextual guidance on when the tool is appropriate. It does not explicitly name alternative tools or exclusion cases, so it stops short of a full 5, but the usage window is unambiguous.

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