Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_filter_state

Returns the active filter ID and V/VT/E layer flags from the grandMA2 snapshot, warning when an active filter restricts stored cue or preset attributes so you can check before any Store operation.

Instructions

    Return the active filter ID and V/VT/E layer flags from the snapshot.

    Gap 1. An active filter silently restricts which attributes are stored
    in a cue or preset. Check this before any Store operation.

    Returns:
        str: JSON with active_filter, filter_vte dict, and a warning if active.
    

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": "get_filter_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that an active filter silently restricts stored attributes, that this matters before Store, and that a warning is emitted when a filter is active. It omits auth/rate-limit context, which is likely minor for a read-only state getter.

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?

Short and front-loaded: the return content is stated first, then the practical caveat, then an explicit Returns block. The 'Gap 1.' label is slightly cryptic out of context but does not obscure the message.

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 parameterless state getter, the description covers what is returned, why it matters, when to call it, and that a warning accompanies an active filter. With an output schema present, return values need not be exhaustively documented, and nothing essential is missing.

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 the baseline is 4. There is nothing for the description to clarify beyond the schema, which is empty by design.

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?

States a specific verb and resource: returns the active filter ID plus V/VT/E layer flags from the snapshot. An agent can tell this is the filter-state reader among the various get_*_state siblings, though it does not explicitly name or contrast those siblings.

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?

Gives concrete when-to-use guidance: check this before any Store operation because an active filter silently restricts which attributes are stored. It does not name alternative tools or when-not-to-use cases, but the trigger condition is clear and actionable.

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