Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Update a knowledge record

knowledge_update
Destructive

Patch fields of an existing knowledge record to update verification state, add related records, or correct versions while appending provenance instead of overwriting it.

Instructions

Patch fields of an existing knowledge record (e.g. set verification state after lab review, add related records, correct versions). Provenance is appended, never overwritten.

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": {
      "recordId": "<recordId>",
      "patch": "<patch>"
    },
    "name": "knowledge_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesPartial fields to merge into the record.
recordIdYes
provenanceSourceNoOptional provenance source for this update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The description adds genuine behavior beyond the annotations: it discloses merge semantics ('patch fields') and an append-only provenance rule ('Provenance is appended, never overwritten'), which the annotations do not convey. However, annotations set destructiveHint=true and idempotentHint=false, and the description never explains the destructive side — that supplied fields overwrite existing values, that the result is not idempotent, or what happens on an unknown recordId. Useful partial coverage against a mutation tool.

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, zero filler, with the core operation front-loaded and the non-obvious provenance invariant placed second. Every clause carries information the agent would otherwise have to guess.

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 destructive mutation with no output schema and an open-ended nested patch object, the description covers the essentials (merge semantics, provenance behavior) but leaves real gaps: no mention that patched fields replace existing values, no error/not-found behavior, and no guidance on valid patch keys for an unconstrained object. Annotations carry the safety profile, so the gap is moderate rather than critical.

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?

With 67% schema coverage, the description earns credit for illustrating what goes into the free-form 'patch' object (verification state, related records, versions), which the schema leaves as additionalProperties: {} with no field names. It says nothing extra about recordId (a required, minLength-1 string) or provenanceSource, both of which are covered only thinly by 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?

The description gives a specific verb and resource ('Patch fields of an existing knowledge record') and three concrete example edits, so an agent immediately knows this is a partial-update operation on existing records, not a create. It stops short of naming the sibling it is not (e.g. knowledge_ingest for new records, knowledge_search for reads), so sibling differentiation is only implicit.

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 parenthetical examples ('set verification state after lab review, add related records, correct versions') give clear situational context for when to reach for this tool. There are no explicit exclusions or named alternatives, and nothing states that the record must already exist, but the usage context is unambiguous rather than merely implied.

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