Skip to main content
Glama

check_prompt

Review an image prompt before generation to flag negation warnings and missing style, framing, lighting, or unquoted text hints without an API call or cost.

Instructions

Review an image prompt before generating (no API call, no cost): negation warnings and hints about missing style, framing, lighting or unquoted text. Heuristic only.

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": {
      "prompt": "<prompt>"
    },
    "name": "check_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.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 burden and does well: it discloses that no API call or cost is incurred, that results are heuristic rather than model-graded, and roughly what the output contains. It does not say whether warnings are advisory-only or can block a generate call.

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?

One front-loaded sentence covers action, scope, output, and cost, followed by a tight "Heuristic only." qualifier. There is no filler and no redundancy with structured fields.

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, side-effect-free checker with no output schema, the definition gives enough to call it confidently and to interpret the results as advisory heuristics. A brief note on the shape of the returned warnings would close the last gap.

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 coverage is 0% and the single required parameter is undocumented in the schema, but the description supplies the essential meaning by scoping the input to an image prompt. Given only one self-evident string parameter, that is adequate, though the expected format or length is unstated.

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?

Names a specific verb and resource ("Review an image prompt") and enumerates what it produces: negation warnings plus hints about missing style, framing, lighting, and unquoted text. This clearly separates it from a generation tool, though the boundary versus the sibling prompt_guide is left implicit.

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?

"before generating" gives a clear trigger point for calling it, and "no API call, no cost" tells the agent it is cheap to invoke preemptively. There is no explicit exclusion or named alternative (e.g. when to prefer prompt_guide), so it stops short of full routing guidance.

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