Skip to main content
Glama

enhance_prompt_gemini

Read-onlyIdempotent

Improve AI prompts using Gemini API strategies like Few-Shot examples and structured formatting to increase response quality and clarity.

Instructions

프롬프트 개선|제미나이 전략|품질 향상|prompt enhancement|gemini strategies|quality improvement - Enhance prompts using Gemini API prompting strategies (Few-Shot, Output Format, Context)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe original prompt to enhance
agent_roleNoThe role of the agent that will receive this prompt (e.g., "Specification Agent", "Planning Agent")
strategiesNoSpecific Gemini strategies to apply. If not provided, all strategies will be applied.
Behavior4/5

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

Annotations already provide clear behavioral hints (readOnlyHint: true, destructiveHint: false, idempotentHint: true), but the description adds valuable context by specifying that it applies 'Gemini API prompting strategies' and lists specific techniques. This clarifies the tool's approach beyond the generic safety profile indicated by annotations.

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?

The description is efficiently structured as a tag-like list of keywords followed by a clarifying parenthetical explanation. While somewhat unconventional in format, it conveys essential information without redundancy. The front-loaded keywords make the core purpose immediately apparent, though the pipe-separated format could be more readable.

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 tool with comprehensive annotations and full schema coverage but no output schema, the description provides adequate context about the enhancement approach and strategy scope. However, it doesn't describe what the enhanced prompt output looks like or any limitations of the Gemini strategies, leaving some behavioral aspects unspecified despite good annotation coverage.

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?

With 100% schema description coverage, the input schema already documents all three parameters thoroughly. The description mentions 'strategies' generically but doesn't add meaningful semantic context beyond what the schema provides about parameters like 'agent_role' or 'strategies' enum values. Baseline score of 3 is appropriate given comprehensive schema coverage.

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 clearly states the tool's purpose with specific verbs ('Enhance prompts') and resources ('using Gemini API prompting strategies'), listing specific strategies like Few-Shot, Output Format, and Context. It distinguishes from the sibling 'enhance_prompt' tool by specifying 'Gemini strategies' in both the description and title annotation.

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 usage context through 'Gemini API prompting strategies' and lists strategy names, but doesn't explicitly state when to use this tool versus alternatives like 'enhance_prompt' or other analysis tools. No guidance on prerequisites or exclusions is provided, leaving usage context partially inferred rather than clearly defined.

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

Install Server

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/su-record/hi-ai'

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