Skip to main content
Glama

mtgx_update_entity

Update an entity's value, properties, notes, bookmark, position, or weight in a .mtgx archive by specifying its entity ID and archive path.

Instructions

Update an entity's value, properties, notes, bookmark, position, or weight in a .mtgx archive.

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": {
      "path": "<path>",
      "entity_id": "<entity_id>"
    },
    "name": "mtgx_update_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to .mtgx archive
notesNoUpdated notes string, or null to clear
valueNoNew primary entity value
weightNoNew entity weight, or null to clear
bookmarkNoUpdated bookmark index (>= 0), or null to clear
positionNoNew node coordinates { x, y }
entity_idYesID of the entity to update
propertiesNoProperties to merge/upsert (or replace when replace_properties=true)
replace_propertiesNoReplace existing properties instead of merging by name (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool, yet it says nothing about permissions, reversibility, error behavior when entity_id is unknown, or whether omitted fields are preserved. The only behavioral hint is the null-to-clear convention, which is actually documented in the schema rather than the description.

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?

A single front-loaded sentence with no filler, and the mutable facets are listed compactly. It is efficient but arguably under-specified rather than genuinely well-structured, since there is no second sentence covering behavior.

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 nine-parameter mutation tool with a nested position object, no annotations, and no output schema, the definition omits critical context: what is returned, how partial updates behave, and whether replace_properties has destructive consequences. The schema covers parameters, but nothing covers behavior or results.

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?

Schema description coverage is 100%, so every one of the nine parameters already carries its own description, including the merge-vs-replace semantics of replace_properties. The description's field list mirrors the schema without adding syntax, format, or interaction details, so the baseline 3 applies.

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 ('Update') and resource ('an entity') and enumerates the mutable facets (value, properties, notes, bookmark, position, weight), making the operation unambiguous. It does not, however, distinguish this tool from siblings such as mtgx_add_entities or mtgx_create, leaving the agent to infer that this modifies existing entities rather than creating them.

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 explicit when-to-use guidance, no statement that the entity must already exist, and no routing to alternatives like mtgx_add_entities for new entities or mtgx_remove_entities for deletion. The agent must derive the usage context entirely from the verb and the required entity_id parameter.

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