Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_improvement_suggestions

Return repair suggestions for tools failing within a look-back window and promotion candidates for high-quality sessions not yet promoted to Skills; read-only analyser output.

Instructions

    Return repair suggestions and promotion candidates from the analyser.

    Repair suggestions: tools failing >= ``min_failures`` times in the
    last ``days`` days, with a human-readable hint for each.

    Promotion candidates: successful sessions not yet promoted to Skills,
    with quality score >= ``min_quality``.

    This tool is read-only — it never writes to the skill registry.

    Args:
        days:          Look-back window for failure detection (default 7).
        min_failures:  Minimum error count to flag a tool (default 3).
        min_quality:   Minimum session quality to suggest promotion (default 0.8).
    

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_improvement_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
min_qualityNo
min_failuresNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 disclosure burden. It does state the important trait 'This tool is read-only — it never writes to the skill registry,' which is genuine behavioral context, and it describes what qualifies each result category. It stops short of covering permissions, data freshness, or cost of the analysis pass.

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?

Front-loaded with the tool's purpose, followed by structured category definitions and a short Args list. Nothing is padded, though repeating the default values (7, 3, 0.8) that already appear in the schema is wasted text.

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?

An output schema exists, so the description correctly avoids explaining return values, and all three parameters are documented. The read-only guarantee is stated. The only meaningful gap for a zero-required-parameter analytical tool is the absence of guidance on when to prefer it over related state/metrics tools.

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?

Schema description coverage is 0%, so the Args block does the real work: it gives each of the three parameters a domain meaning ('look-back window for failure detection', 'minimum error count to flag a tool', 'minimum session quality to suggest promotion'). The default values are redundant with the schema, but the semantic explanation is not.

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 opens with a specific verb and resource: 'Return repair suggestions and promotion candidates from the analyser,' then defines both output categories precisely. An agent knows exactly what it gets back. It does not, however, distinguish itself from any sibling such as get_tool_metrics or get_skill, so it falls short of a 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 through the threshold semantics (failures in a window, unpromoted high-quality sessions). There is no explicit statement of when to call this instead of the metrics or skill tools, and no prerequisites are named. An agent can infer the situation, but must reason about it.

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