Skip to main content
Glama

osint_extract_entities

Extract deduplicated OSINT entities from text or local files, then link them to a root Document or Phrase for Maltego graph analysis.

Instructions

Extract deduplicated Maltego entities (EmailAddress, Domain, IPv4Address, URL, Hash, PhoneNumber) from input text or a safe local file path within workspaceDir, linking back to a root Document/Phrase.

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": "osint_extract_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoRaw text to extract OSINT entities from
file_pathNoPath to a local file inside workspaceDir
output_mtgxNoOptional .mtgx archive path within workspaceDir to create or merge discovered entities/links into.
source_typeNoRoot entity type: document (maltego.Document) or phrase (maltego.Phrase)
max_entitiesNoMaximum unique extracted entities (default: 200)
source_labelNoOptional label for the root Document/Phrase entity

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 does add useful behavioral facts — results are deduplicated, a limited set of entity types is produced, and entities are linked to a root Document/Phrase — but it never mentions filesystem write side effects when output_mtgx is set, permission requirements, or precedence when both text and file_path are supplied.

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

Conciseness4/5

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

A single front-loaded sentence packs verb, resource, entity types, input modes, and linkage with no wasted clauses. The parenthetical entity list is long but earns its place by defining output scope.

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?

For a 6-parameter tool with no annotations and no output schema, the definition covers purpose and inputs but leaves the agent guessing about return values, whether both text and file_path can be combined, and what output_mtgx actually writes. Adequate but with clear gaps.

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 reinforces the text/file_path duality and the root-entity linkage, and adds the deduplication semantic, but adds no new detail (formats, defaults, mutual exclusivity) beyond what the schema already states.

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 verb (Extract), a specific resource (Maltego entities), enumerates the entity types produced, and states the two input modes. It is clear enough to distinguish from sibling tools like mtgx_add_entities or entity_parse_xml, though it never names an alternative explicitly.

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 when-to-use or when-not-to-use guidance relative to siblings such as osint_run_pipeline, entity_parse_xml, or mtgx_add_entities. The only usage signal is the implied input modes (raw text vs. file path), leaving the agent to infer which tool fits a given extraction task.

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