Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Ingest a knowledge record

knowledge_ingest
Destructive

Insert or update a single knowledge record with mandatory provenance and one category, keeping advisories, detection templates, PoCs, and malware references separate.

Instructions

Insert or update a single knowledge record with mandatory provenance. Each record is filed under exactly one category so that advisories, detection templates, PoCs and malware references never get conflated. Provide source URL/version/license when known.

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": {
      "category": "<category>",
      "title": "<title>",
      "source": "<source>"
    },
    "name": "knowledge_ingest"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoCanonical URL of the source material.
tagsNo
klassNoVulnerability/artifact class, e.g. buffer-overflow.
titleYesHuman-readable title.
commitNo
sourceYesProvenance source identifier, e.g. "nvd", "github-advisory", "vendor-advisory".
vendorNo
licenseNo
productNo
versionNo
categoryYesKnowledge category for this record.
rootCauseNo
confidenceNo
identifiersNoIdentifier map, e.g. { cve: "CVE-...", cwe: "CWE-..." }.
publishedAtNo
verificationNo
attackSurfaceNo
fixedVersionsNo
preconditionsNo
affectedVersionsNo
relatedRecordIdsNo
publicExploitStateNo
relatedMiraiVariantsNo
relatedMalwareFamiliesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description never explains what destruction means here: whether a duplicate key overwrites an existing record, whether mandatory provenance rejects the call, or what validation happens. The 'insert or update' wording also sits in mild tension with idempotentHint=false, since an upsert reads as idempotent; this is a soft inconsistency rather than a flat contradiction.

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?

Three tight sentences with the operation and the mandatory-provenance constraint front-loaded. No filler, though the category rationale sentence is longer than the information it conveys.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 24-parameter, destructive, non-idempotent write with no output schema, the description says nothing about deduplication, overwrite semantics, validation failures, or what the call returns. An agent knows what the tool is for but not enough to predict the effect of calling it.

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 only 25% across 24 parameters, so the description carries real weight, and it adds meaning only for the three required fields: category is single-valued and deliberately non-overlapping, source is provenance, and url/version/license are optional. The remaining parameters — identifiers, verification, confidence, publicExploitState, the nested identifier map — get nothing beyond their enum names.

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 opens with a specific verb and resource ('Insert or update a single knowledge record with mandatory provenance'), so the operation is unambiguous. It does not, however, distinguish itself from the sibling knowledge_update, and the 'insert or update' phrasing overlaps with that sibling's apparent scope.

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?

It gives real filing guidance ('exactly one category so that advisories, detection templates, PoCs and malware references never get conflated') and says to supply source URL/version/license when known. What is missing is routing: no statement of when to use this versus knowledge_update or curated_dataset_ingest, and no note on whether this creates or overwrites when a record already exists.

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

Deploy Server

Other Tools