Skip to main content
Glama

Fix prompt for a coding agent

get_fix_prompt
Read-only

Step-by-step instructions for shipping one cost fix in a code repository: where to look, what to change, guardrails, and how to confirm the saving. Takes a fix id; without one it returns the largest open fix.

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

Input Schema

NameRequiredDescriptionDefault
fix_idNoThe id of a fix. Default: the largest open fix.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: the return value is instructional prose addressed to a coding agent, its structure is enumerated, and the zero-argument default is disclosed.

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 sentences, front-loaded with what the tool produces, then the parameter behavior. No filler and nothing buried.

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 single-parameter, read-only generator with no output schema, the description adequately conveys what comes back and how the argument defaults. It leaves minor gaps: behavior when the fix id is invalid and what happens when no open fixes exist to fall back on.

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 100% and the single parameter's schema description already states 'The id of a fix. Default: the largest open fix.' The description restates that default, adding no new semantics such as id format or behavior on an unknown id, so baseline 3 applies.

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 names a concrete artifact (step-by-step instructions for shipping one cost fix) and enumerates its sections: where to look, what to change, guardrails, and how to confirm the saving. That distinguishes it in spirit from list_fixes, but no sibling is named, so differentiation relies on inference.

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 implied: it is a follow-up to picking a fix, and the fallback ('without one it returns the largest open fix') tells the agent it can call it with no argument. There is no explicit when-to-use statement, no exclusion, and no pointer to list_fixes for discovering ids.

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