Skip to main content
Glama

score_prompt

Evaluate a prompt for AI video/image generation models by scoring it from 0 to 100, detecting anti-patterns and missing elements, and providing a grade and verdict to avoid wasting tokens on poor prompts.

Instructions

Score a prompt for a specific generation model (0–100).

Returns a ScoreCard: overall score, letter grade (A–F), per-dimension breakdown, what's missing, detected anti-patterns, and a one-line verdict on whether it's safe to generate.

Supported models: veo3, seedance, kling, runway, wan, minimax, higgsfield, sora, flux, midjourney, ideogram, firefly, imagen Aliases: "veo" → veo3, "mj" → midjourney, "sd" → flux, "gen4" → runway, "hailuo" → minimax

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesTarget generation model
promptYesThe prompt to score

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the return value in detail (ScoreCard with overall, grade, breakdown, missing, anti-patterns, verdict) and lists aliases, adding behavioral context beyond the schema.

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?

Description is concise and front-loaded, stating purpose and return value first, then listing supported models. Every sentence adds value with no repetition or fluff.

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 tool with 2 simple parameters and an output schema, the description covers purpose, return details, supported models, and aliases. It fully addresses what an agent needs to 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%, but description adds value by listing supported models and aliases for the 'model' parameter. For 'prompt', it merely restates the schema. The model list is significant additional semantics.

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?

Description clearly states it scores a prompt for a generation model (0–100) and returns a detailed ScoreCard. It lists supported models and aliases, distinguishing it from siblings like score_and_enhance or score_variations.

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?

Description specifies what the tool does and its return format, but does not explicitly guide when to use this tool versus alternatives like score_and_enhance or score_variations. The list of supported models provides context but lacks explicit when-not or alternative recommendations.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lulu-The-Narwhal/dali-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server