Skip to main content
Glama

security_ioc_extract

Read-only

IOC extractor — Extract indicators of compromise from any threat report, log, alert or email: URLs, domains, IPv4/IPv6 (private IPs skipped), emails, MD5/SHA1/SHA256/SHA512 hashes, CVE IDs, ETH/BTC addresses and suspicious file names. Refangs hxxp and [.] input, dedupes, and can return defanged copies. Offline. Price: $0.003 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "security_ioc_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThreat report or log text (required, up to 100k chars)
defangNotrue to also return defanged IOCs (optional)
include_privateNotrue to keep private/reserved IPs (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, non-destructive, open-world profile, and the description layers on behavior they cannot express: private/reserved IPs are skipped unless requested, hxxp and [.] are refanged on input, results are deduplicated, defanged copies are optional, execution is offline, and there is a per-call charge of $0.003 USDC via x402. The pricing and refanging behavior are exactly the kind of operational detail an agent needs before calling.

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?

Front-loaded with the tool's purpose in the first clause, followed by the indicator list and then operational notes; there is no filler. The long enumeration of indicator types is dense but every item conveys scope, so it earns its space, though the single unbroken sentence makes the pricing tail slightly easy to miss.

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?

With no output schema, the description must carry the return-value burden, and it does reasonably: it names what comes back, that duplicates are removed, and that defanged copies are optional. It does not describe the output shape or ordering, which is a minor gap for a tool with a single required text parameter and two optional flags.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description goes beyond it by explaining that refanging of hxxp and [.] is default behavior and that defang requests a second defanged copy of the results, which clarifies the defang flag's meaning. It also confirms the private-IP skipping default that include_private overrides, though it does not restate the 100k character input limit.

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?

States a specific verb (Extract) and resource (indicators of compromise) and then enumerates the exact indicator classes returned: URLs, domains, IPs, emails, four hash families, CVEs, and crypto addresses. That enumeration lets an agent distinguish it from siblings like security_hash or security_threat_lookup without opening the schema.

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 description names the input contexts it is built for — any threat report, log, alert or email — and states it runs offline. It gives clear usage context but no explicit exclusions or named alternative tools to prefer for adjacent jobs such as hash lookup or threat lookup.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources