Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Edit Asset

edit_asset

Modify an existing asset by updating only the fields you supply, such as name, description, notes, and impact factors; factor changes need a change reason.

Instructions

Edit an existing asset. Only provided fields changed.

When changing identity fields, hold to the asset authoring contract: name the data/resource protected and its security property, not a mechanism — otherwise the result is flagged with a quality_warning (see add_asset). There is no status field to set.

The composed impact is server-derived from the factor fields; there is no way to set it directly. To change the rating, set factor values (the platform composes the new rating) and supply change_reason documenting the operator override of the LLM-generated factors. The reason is captured in the rating-revision audit trail. Over a rating held pending (rating_pending on get_entity), a factor edit settles the pair with the rating it sets, a judgment (rating_reconfirmed) a program makes only under a delegation rule, else parked whole for a person.

New words (name, description, security properties) are rated for: one rating call, at your cost; a rating a person chose is kept and the new one held pending beside it. Adopting a quality check's advice is your own edit of the words, stated with its change_reason.

LLM-gated on identity-bearing fields (name, description, security_properties). Factor and notes edits skip the gate.

Outcomes when identity fields change:

  • Accepted edit (LLM classifies as preserve) — {model, entities, controls_carried, ...}: the model's id, version and title, and the asset as it now stands.

  • Rejected edit (LLM classifies as replace / ambiguous) — {"accepted": False, ...}; nothing saved. Soft-delete + add-new instead.

Editing a soft-deleted asset is rejected — restore_entity (entity_type="asset") first. 503 on evaluator outage or when the rating call for new words fails (nothing saved), 502 on malformed response, 400 when factor fields are sent without change_reason, 409 when the model changed since it was read (read it again and send the edit again).

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": {
      "server_version": "<server_version>",
      "model_id": "<model_id>",
      "asset_id": "<asset_id>"
    },
    "name": "edit_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name (optional).
notesNoNew notes (optional).
asset_idYesID of the asset (e.g., "A1").
evidenceNo
model_idYesID of the threat model.
descriptionNoNew description (optional).
blast_radiusNo"Isolated" | "Multiplicative" | "Cascading".
change_reasonNoRequired when any factor field is supplied — documents the operator override of LLM-generated factors for the audit trail.
recoverabilityNo"Trivial" | "Manageable" | "Permanent".
server_versionYes
usage_subscoreNo"None" | "Low" | "High".
impact_rationaleNoNew rationale (optional).
regulatory_scopeNo"None" | "Notification" | "Legal".
integrity_subscoreNo"None" | "Low" | "High".
security_propertiesNoComma-separated properties (optional).
availability_subscoreNo"None" | "Low" | "High".
confidentiality_subscoreNo"None" | "Low" | "High".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.108.0
    • addedInput schema / properties / evidence
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  2. Addedv0.62.2
  3. Removedv0.62.1
  4. First observedv0.57.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses the identity-field LLM gate, that impact is server-derived and cannot be set, that change_reason is mandatory with factor fields and lands in the rating-revision audit trail, and how a rating held pending is settled or parked for a human. It also enumerates concrete outcomes (accepted vs {"accepted": False}) and failure codes — 503 evaluator outage, 502 malformed response, 400 missing change_reason, 409 stale model — plus the cost note that new words consume one rating call at the caller's expense.

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 first sentence is well front-loaded, but the body is a dense wall of prose with coined phrasing ('hold to the asset authoring contract', 'settles the pair with the rating it sets', 'parked whole for a person') that takes parsing effort. The outcome bullets and error codes earn their space; the rating-pending paragraph is the least economical and could be tightened considerably.

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?

For a 17-parameter mutation tool with an output schema, the definition covers the mutation contract, gating, audit trail, return shapes, and error semantics — close to complete. The remaining gap is the deferred 'see add_asset' for the quality_warning contract, which forces the agent to open another tool's definition to understand what triggers a flag on this one.

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

Parameters5/5

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

Schema coverage is already 88%, so the baseline is 3, but the description adds real meaning on top: it names the identity-bearing fields (name, description, security_properties) that trigger the gate, groups the factor fields as the only way to move the composed impact, ties change_reason to the factor fields specifically, and notes there is no status field to set. That clarifies cross-parameter dependencies the schema's per-field descriptions do not express.

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 opening two sentences give a specific verb and resource ('Edit an existing asset. Only provided fields changed.'), establishing patch semantics rather than a full replace. It also implicitly separates itself from add_asset (new words are rated, referencing add_asset's contract) and restore_entity (soft-deleted assets). The purpose is clear, though the core statement is terse and much of the differentiation is buried in later paragraphs rather than stated up front.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent: soft-deleted assets must go through restore_entity (entity_type="asset") first, and a rejected edit means soft-delete + add-new instead. It also states which edits skip the LLM gate (factors and notes) versus which trigger it (name, description, security_properties), and that adopting a quality check's advice counts as the caller's own edit. When-to-use, when-not, and the alternative path are all present.

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