Skip to main content
Glama
imjdl

ghidra-fleet

by imjdl

List Segments

list_segments

Lists memory segments in a binary, including names, address ranges, read/write/execute permissions, and sizes for memory layout inspection.

Instructions

列出内存段(名称、范围、读写执行权限、大小)。

Input Schema

NameRequiredDescriptionDefault
binaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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: the word 'list' implies a read-only operation, and the parenthetical enumerates the returned attributes (name, range, permissions, size), which is genuinely useful behavioral context. However, it says nothing about whether the binary must be pre-analyzed, what happens if it isn't, or whether the result is paginated or truncated for large binaries.

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?

One short sentence that front-loads the action and spends its remaining words on the most useful detail (the returned fields). Nothing is wasted and nothing is buried.

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?

With no output schema, the description usefully enumerates return fields, which covers the return-value gap. But it omits the meaning/format of the required binary argument and any precondition about prior analysis, so an agent still has to guess how to call it correctly.

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% for the single required 'binary' parameter, and the description never mentions it — leaving unclear whether the value is a file path, a display name, or an ID from list_binaries. This is the main gap in the definition.

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?

States a specific verb and resource (list memory segments) and enumerates the fields returned, which distinguishes it clearly from siblings like list_functions or list_strings. It doesn't explicitly contrast with a related sibling, but no sibling covers memory segments, so the purpose is unambiguous.

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?

No indication of when to use this tool versus alternatives, nor any prerequisite such as the binary needing to be analyzed first (analysis_status exists as a sibling). Usage is only inferable from the tool name and the surrounding toolset.

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