Skip to main content
Glama

Improve a prompt (free allowance, then 4 credits)

improve_prompt

Rewrite a rough idea in any language into a ready-to-paste prompt for Veo 3.1, Nano Banana, Midjourney, Kling, ChatGPT or Claude, with two variations and a note. Video/image prompt bodies are in English; dialogue and on-screen text stay in the user's language. ChatGPT/Claude prompts stay in the user's language. Set own_language to true to write the whole prompt in that language. Uses the same limits, spend cap and moderation as the web: daily free allowance first, then 4 credits per paid prompt. Does not generate images or video.

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": {
      "target": "<target>",
      "idea": "<idea>"
    },
    "name": "improve_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
ideaYesYour rough idea in any language or dialect.
targetYesThe model you will paste the prompt into.
own_languageNoWrite the entire prompt in your language, including for image/video targets (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint=false and idempotentHint=false already declared, the description still adds substantial context: daily free allowance then 4 credits per prompt, the same spend cap and moderation as the web, and that output is two variations plus a note. It never states whether a failed or moderated call consumes allowance, which is the one operational detail an agent might still want.

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?

It is front-loaded with the core transformation and then layers language rules, billing, and exclusions in a logical order with no filler sentences. The opening sentence is long and stacks a six-model list plus the two-variation output, which slightly slows scanning, but nothing is redundant.

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

Completeness5/5

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

For a three-parameter, no-output-schema tool, the description covers what is produced (two variations and a note), language behavior per target type, cost model, and what the tool does not do. An agent has everything needed to decide and invoke correctly.

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 100%, so the baseline is 3, but the description genuinely adds meaning: it explains the language split (video/image prompt bodies in English while dialogue and on-screen text stay in the user's language; ChatGPT/Claude prompts stay in the user's language) and clarifies that own_language=true overrides that split for image/video targets. That is real semantic value beyond the schema's shorter phrasing.

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?

The description opens with a specific verb and transformation ('Rewrite a rough idea ... into a ready-to-paste prompt') and enumerates the six target models, so the agent knows exactly what is produced. It is clearly distinct from siblings like render_ad or generate_ad_script, and the closing 'Does not generate images or video' draws the boundary explicitly.

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?

Usage context is clear: this is for turning a rough idea into a paste-ready prompt for a named target model, and the last sentence excludes media generation. It does not, however, name a sibling alternative for when a different tool would be the better choice, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources