Skip to main content
Glama

suggest_prompt_fix

Read-only

Draft a revised system prompt that fixes the rules an audit found broken. Returns the new prompt and what changed; run retest_prompt with it to check.

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": {
      "audit_id": "<audit_id>"
    },
    "name": "suggest_prompt_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
audit_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this by framing the output as a draft rather than an applied change, plus it discloses the return payload ('the new prompt and what changed'). It doesn't say whether the draft is persisted or how long it remains available for the retest step.

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 tight sentences with the action front-loaded and the follow-up step last, with no redundant wording.

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?

With no output schema, the description correctly covers what is returned and how to consume it via retest_prompt. The remaining gap is the missing prerequisite/existence condition for audit_id, which is minor for a one-parameter tool.

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 coverage is 0% for the single audit_id parameter, so the description must compensate. It only implies that the audit supplies the broken rules; it never explains that audit_id identifies a specific prior audit result or what format is accepted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Draft a revised system prompt') plus the scope that selects inputs ('fixes the rules an audit found broken'), which cleanly separates it from retest_prompt and test_prompt_rules.

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 clear next-step guidance ('run retest_prompt with it to check'), effectively naming the follow-up tool and the condition that triggers it. It stops short of stating prerequisites (e.g. that a completed audit_id is required) or when-not-to-use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources