Skip to main content
Glama

analyze_prompt

Analyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesPrompt to analyze

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It clearly lists the analytical outputs, but does not explicitly disclose behavioral traits such as side effects, safety, or external calls. However, 'analyze' implies a non-mutating, read-only operation, which partially covers transparency.

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?

The description is a single, front-loaded sentence with no wasted words. It immediately identifies the action and resource, then lists concrete outputs, making it highly concise and scannable.

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 simple tool with one parameter and no output schema, the description covers inputs and expected outputs well. It lists the analysis dimensions, but does not specify the exact response format. Given the tool's simplicity, this is adequate and nearly complete.

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 describes 'prompt' as 'Prompt to analyze'. The description adds context by specifying the analysis dimensions, but does not provide additional syntax, format, or constraint details beyond what the schema already states.

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 uses a specific verb ('Analyze') and resource ('a prompt'), and enumerates the analysis dimensions (clarity score, filler patterns, ambiguity, improvement suggestions). This clearly distinguishes it from sibling tools like compare_prompts or optimize_prompt.

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?

The description implies its use for analyzing a single prompt, but it does not explicitly state when to use it over alternatives or provide exclusions. Sibling tool names offer context, but the description itself lacks direct 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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: analyze diagnoses, optimize modifies, compare selects between two, estimate counts tokens, and health checks API status. No two tools overlap in function.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, making the API predictable and easy to navigate.

Tool Count5/5

Five tools is well-scoped for a prompt optimization server, covering essential operations without redundancy or unnecessary bloat.

Completeness5/5

The set covers the full lifecycle of prompt optimization: analysis, optimization, comparison, token estimation, and health checks. No significant gaps are apparent for the stated purpose.