Skip to main content
Glama

mtgx_add_entities

Add one or more entities to an existing .mtgx archive, with auto-generated IDs, optional deduplication, and automatic grid layout when position is omitted.

Instructions

Add one or more entities to an existing .mtgx archive with auto-generated IDs and automatic grid layout when position is omitted.

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>",
      "entities": "<entities>"
    },
    "name": "mtgx_add_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to existing .mtgx archive
entitiesYesNon-empty array of entities to add
deduplicateNoSkip entities whose (type, value) pair already exists in the graph (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/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 it does disclose two useful traits: IDs are auto-generated and a grid layout is applied when position is omitted. However, it says nothing about persistence, irreversibility, error behavior on a missing archive, or what the call returns (e.g., generated IDs), and the referenced 'position' input does not exist in the schema.

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?

It is a single front-loaded sentence with the mutation and target stated first and no filler. The trailing clause about 'position' is the one piece that does not earn its place, since no such parameter exists.

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?

There is no output schema and no annotations, so the description must cover behavior on its own; it covers ID generation and layout but omits return value and failure modes for a mutation against an existing archive. Adequate to invoke, but incomplete for an agent that needs to know what comes back or what happens on a bad path.

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 path, entities, and deduplicate are already documented and the baseline is 3. The description adds no meaning beyond the schema for any of these, and its only parameter-like reference ('when position is omitted') points to a field that is not in the input schema, which adds noise rather than clarity.

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 states a specific verb and resource ('Add one or more entities') plus the target container ('an existing .mtgx archive'), which is enough to separate it from siblings like mtgx_add_links, mtgx_remove_entities, and mtgx_update_entity. It does not explicitly name or contrast those alternatives, which keeps it at 4 rather than 5.

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?

Usage is only implied: 'existing .mtgx archive' hints that archive creation belongs to a different tool, and 'one or more entities' implies batching. There is no explicit statement of when to prefer this over mtgx_create, mtgx_add_links, or mtgx_update_entity, and no exclusions or prerequisites are given.

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