Skip to main content
Glama
DFIR-Iris MCP Server

DFIR-Iris MCP Server

by srozb

Add Ioc

add_ioc

Adds an indicator of compromise to a specific case, including type, value, tags, and TLP, for investigation tracking.

Instructions

Add an IOC to a case.

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": {
      "case_id": "<case_id>",
      "value": "<value>",
      "ioc_type": "<ioc_type>"
    },
    "name": "add_ioc"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
case_idYes
ioc_tlpNo
ioc_tagsNo
ioc_typeYes
descriptionNo
custom_attributesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden for a write tool, and it discloses almost nothing. It does not say whether adding a duplicate IOC errors or merges, whether TLP defaults are applied, whether permissions or case state are required, or what side effects occur. Only the fact that the record is attached to a case is conveyed.

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

Conciseness3/5

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

The single sentence is front-loaded and contains no padding, so there is nothing to trim. However, the brevity is under-specification rather than economy, so it does not earn a high conciseness score.

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?

An output schema exists, so return values need not be explained, but with seven parameters, no annotations, zero schema coverage, and a write operation, one six-word sentence is nowhere near sufficient. The agent has no basis to choose valid enum-like values or predict failure modes.

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% across seven parameters, and the description names none of them. Critical semantics such as valid ioc_type values, the TLP field's accepted string-versus-integer forms, tag format (array or delimited string), and the purpose of custom_attributes are entirely undocumented in both places.

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

Purpose3/5

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

States a verb ('Add') and a resource ('IOC') plus a scope ('to a case'), so the basic action is recoverable. But it does not define what an IOC is, what distinguishes it from the sibling add_* tools (add_asset, add_event, add_evidence), or what kinds of indicators are accepted, leaving the agent to guess from the name alone.

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 guidance: no statement about which indicator types belong here versus add_asset, no prerequisite that the case must exist, and no mention of the sibling list_ioc_types that presumably enumerates valid ioc_type values. The phrase 'to a case' is the only contextual hint.

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