Skip to main content
Glama

Generate Prompt

generatePrompt
Read-only

Generates an expert, structured production-grade prompt based on user-provided topic requirements and desired format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesThe topic or requirement for the prompt to generate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/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. Beyond the name, the description adds only quality adjectives ('expert', 'production-grade') rather than behavioral facts such as output length, format control, or determinism.

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?

One front-loaded sentence with no redundancy and the action stated first. It is slightly bloated by stacked marketing adjectives ('expert, structured production-grade') that consume space without informing invocation.

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

Completeness3/5

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

For a single-parameter generation tool with no output schema, the description covers the input side adequately. It does not describe what the generated result looks like or how format/length is controlled, leaving a gap for a tool whose whole purpose is producing a specific output shape.

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 description coverage is 100% for the single 'topic' parameter, so the baseline is 3. The phrase 'desired format' hints at a formatting input that does not exist in the schema, adding mild ambiguity rather than useful parameter detail.

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?

States a specific verb ('Generates') and resource (a structured production-grade prompt) with the input basis (user-provided topic). The create-vs-improve contrast with the sibling optimizePrompt is only implied by the verb, not stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance and no mention of the sibling optimizePrompt, which is the obvious alternative. The agent must infer from the verb alone whether to generate a new prompt or optimize an existing one.

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