Skip to main content
Glama
grandMA2 MCP
by drohi-r

snapshot_programmer_state

Preserve the grandMA2 programmer state by capturing a structured snapshot for later review, returning JSON with restorable data and non-restorable context.

Instructions

Capture a structured programmer-state snapshot for later review (SAFE_READ).

Returns:
    str: JSON with a restorable snapshot subset plus non-restorable context.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "snapshot_programmer_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 meaningful work: 'SAFE_READ' declares it is non-mutating, and 'restorable snapshot subset plus non-restorable context' discloses the important caveat that a restore will not recover everything. It still says nothing about where the snapshot is persisted, whether snapshots accumulate, or any permission requirements, which keeps it below a 5.

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 short sentences, the action and its safety profile front-loaded, with no filler. The 'Returns: str: JSON with...' line is docstring boilerplate but is the only place the restorable/non-restorable split is stated, so it earns its place.

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 zero-parameter read-only capture tool with an output schema present, the definition covers the essentials and needn't explain return shapes. What is missing is the family context: three snapshot tools appear among the siblings and the description offers no basis for choosing between them.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description does not waste space restating an empty 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: 'Capture a structured programmer-state snapshot,' which an agent can immediately distinguish from restore_programmer_state or the various get_*_state readers. It stops short of naming any sibling to route against, so differentiation is implied rather than stated.

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?

'for later review' plus the mention of a 'restorable snapshot subset' implies the use case (checkpoint before a restore) but never states when to prefer this over incident_snapshot or snapshot_console_baseline. No exclusions or prerequisites are given, so usage must be inferred from the name and the restore pairing.

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