Skip to main content
Glama
grandMA2 MCP
by drohi-r

validate_universal_preset_coverage

Checks whether a universal preset slot range is populated cleanly by reporting occupied and missing slots with coverage percent and a recommendation.

Instructions

Check whether a universal preset slot range is populated cleanly (SAFE_READ).

Args:
    preset_type: Preset type name (e.g. "color", "position").
    start_id: First preset slot in the expected range.
    end_id: Last preset slot in the expected range.

Returns:
    str: JSON with occupied slots, missing slots, coverage percent, and recommendation.

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": {
      "preset_type": "<preset_type>",
      "start_id": "<start_id>",
      "end_id": "<end_id>"
    },
    "name": "validate_universal_preset_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_idYes
start_idYes
preset_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the read-only nature via 'SAFE_READ' and lists the return payload fields (occupied, missing, coverage percent, recommendation), but it never explains what 'cleanly' means operationally or whether the tool raises an error versus merely reporting gaps.

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 purpose is front-loaded in a single sentence, followed by a compact Args/Returns block. Every line carries information, though the Returns section partially duplicates the existing output schema.

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

Completeness4/5

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

For a low-complexity three-parameter read tool with an output schema, the definition covers purpose, parameters, and return shape adequately. The main gap is the absence of routing guidance against sibling validators and the undefined term 'cleanly'.

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 0%, so the description must compensate, and it does define all three parameters, including examples ('color', 'position') for preset_type. However, the semantics are shallow: it does not state ordering constraints (e.g., start_id <= end_id) or whether slot IDs are inclusive bounds.

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: 'Check whether a universal preset slot range is populated cleanly.' That distinguishes it from generic validation siblings like validate_preset_references or assert_preset_exists, though it never names those siblings explicitly.

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 or when-not-to-use guidance and no named alternative. The parenthetical 'SAFE_READ' hints at a non-mutating validation context, but the agent is left to infer when this tool is preferred over the other validate_* siblings.

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