Skip to main content
Glama

sections

Retrieve the segment headers of a loaded PE image to inspect layout, permissions, and addresses during reverse engineering.

Instructions

Sections of a loaded image.

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": {
      "key": "<key>"
    },
    "name": "sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: not whether the call is read-only, what happens if no image is loaded, whether a session is required, or how results are scoped. The phrase 'loaded image' hints at a dependency on prior state but never explains it.

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

Conciseness2/5

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

The text is short but in the direction of under-specification rather than conciseness; it is a four-word fragment with no structure or front-loaded actionable information.

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?

Although an output schema exists and need not be re-explained, the tool has two undocumented parameters, no annotations, and a stated dependency on a 'loaded image' that is never defined. For this complexity level the description is far too thin to support correct invocation.

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 description coverage is 0% for both parameters, and the description adds no meaning for 'key' or 'session'. An agent has no idea what a key refers to (image identifier? file path? view name?) or how an empty session default behaves, which is a serious gap for a call whose primary input is undefined.

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

Purpose2/5

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

The description is a noun phrase that essentially restates the tool name with a qualifier ('Sections of a loaded image'). It conveys the resource (sections) and scope (loaded image) but supplies no verb or operation, so an agent cannot tell whether it lists, counts, or extracts sections.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool, what a 'loaded image' means in terms of prior state, or which sibling tools (e.g., basic_blocks, annotations) are alternatives. Nothing indicates preconditions such as needing an active session.

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