Skip to main content
Glama
grandMA2 MCP
by drohi-r

store_matricks_preset

Set MAtricks settings and store them to a named pool slot in one call. Use it to create labeled MAtricks presets from interleave, blocks, groups, wings, or filters.

Instructions

Set MAtricks state, store to pool, and label — all in one call (DESTRUCTIVE).

Workflow:
  1. Optionally resets all MAtricks settings (reset_first=True, default)
  2. Applies specified MAtricks settings (interleave, blocks, groups, wings, filter)
  3. Stores current MAtricks state to the specified pool slot (/overwrite)
  4. Labels the pool object with the given name

At least one MAtricks setting must be provided.

Args:
    pool_slot: Pool slot number to store into (e.g. 2).
    name: Label for the stored MAtricks object (e.g. "Wings-2-I4").
    interleave: Virtual grid width (MAtricksInterleave).
    blocks: Block size X (MAtricksBlocks). Use with blocks_y for x.y.
    blocks_y: Block size Y (requires blocks for x.y notation).
    groups: Align group size X (MAtricksGroups). Use with groups_y for x.y.
    groups_y: Align group size Y (requires groups for x.y notation).
    wings: Wing/mirror parts (MAtricksWings).
    filter_num: Filter number (MAtricksFilter).
    filter_name: Filter name (MAtricksFilter, e.g. "OddID").
    reset_first: Reset all MAtricks before applying (default True).
    confirm_destructive: Must be True to execute (DESTRUCTIVE operation).

Returns:
    str: JSON with commands_sent list, pool_slot, name, risk_tier.

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": {
      "pool_slot": "<pool_slot>",
      "name": "<name>"
    },
    "name": "store_matricks_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
wingsNo
blocksNo
groupsNo
blocks_yNo
groups_yNo
pool_slotYes
filter_numNo
interleaveNo
filter_nameNo
reset_firstNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it labels the operation DESTRUCTIVE, notes the pool slot is written with /overwrite (implying existing content at that slot is replaced), warns that reset_first wipes all MAtricks settings by default, and requires confirm_destructive=True. It does not discuss failure modes such as an occupied or invalid slot, permissions, or whether the overwritten pool object is recoverable.

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?

The definition is front-loaded with the key fact (compound, DESTRUCTIVE) followed by a compact workflow list and an args block. It is efficient for 12 parameters, though the workflow steps and the args descriptions partially repeat the same information, costing a little redundancy.

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

Completeness5/5

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

For a 12-parameter destructive compound tool, the description covers sequencing, required inputs, destructive confirmation, and side effects on existing MAtricks state and the target pool slot. An output schema exists and the description still summarizes the return payload, so nothing essential to calling it correctly is absent.

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 description coverage is 0%, yet the description documents every meaningful argument with domain meaning and underlying attribute names (MAtricksInterleave, MAtricksBlocks, MAtricksFilter, etc.). It also captures cross-parameter dependencies the schema cannot express, such as blocks_y requiring blocks and groups_y requiring groups for x.y notation, and explains reset_first's default behavior.

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 sentence names the specific compound action (set MAtricks state, store to pool, label) and flags it as DESTRUCTIVE, which is far more than a restatement of the name. An agent can see this is a combined set+store+label tool rather than a plain store (store_new_preset) or a pool-only operation. It stops short of explicitly saying how it differs from siblings like create_matricks_library or manage_matricks.

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 numbered workflow gives clear step ordering, states the prerequisite that at least one MAtricks setting must be supplied, and documents the confirm_destructive gate the agent must satisfy. Missing is any explicit when-to-use-this-vs-sibling guidance (e.g., versus store_new_preset or create_matricks_library).

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