Skip to main content
Glama

mtgx_inspect

Inspect Maltego .mtgx archives to return metadata, entity/link type counts, and paginated entities and links; cleanly detect and explain .mtgl files.

Instructions

Inspect a Maltego .mtgx archive: returns metadata, entity/link type counts, and paginated entities and links. Cleanly detects and explains .mtgl (Pandora/Lucene) files.

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": {
      "path": "<path>"
    },
    "name": "mtgx_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the .mtgx file (within workspace)
limitNoMax entities/links per page (1-1000, default 100)
offsetNoPagination offset (default 0)
include_propertiesNoInclude full entity/link properties and displayInformation (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden: it discloses that output is paginated and that .mtgl files are detected and explained, which are genuinely useful traits. It does not state that the operation is strictly read-only, nor what happens on a missing/out-of-workspace path or an unparseable archive, leaving error behavior unspecified.

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?

Two sentences with no waste: the core capability and return contents come first, and the .mtgl edge-case handling follows as secondary information. Every clause carries content an agent would otherwise have to discover.

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?

There is no output schema, so the description must convey the return shape, and it does so concretely (metadata, type counts, entities, links, pagination). What remains thin is failure handling and the read-only guarantee, which matters for a file-reading tool with no annotations to fall back on.

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 limit, offset, include_properties, and path are already documented in the schema; baseline is 3. The description's phrasing ('paginated entities and links') corroborates the pagination parameters but adds no units, defaults, or interaction detail beyond the schema.

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 ('Inspect a Maltego .mtgx archive') and enumerates the returned content: metadata, entity/link type counts, and paginated entities and links. It is clearly a read/inspection operation, distinguishing it from mutation siblings such as mtgx_add_entities or mtgx_create, but it never contrasts itself with the closer sibling mtgx_query_graph, which could also return graph content.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'inspect' and the mention of .mtgl handling; there is no explicit statement of when to pick this over mtgx_query_graph or mtgx_export_graphml. The .mtgl detection sentence gives a useful behavioral hint about a whole class of inputs but is not framed as routing guidance.

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