Skip to main content
Glama

prompt_neighbors

Read-only

Find community A/B-grade prompts structurally similar to yours.

Uses graph traversal (Memgraph) to locate prompts that share the most creative patterns with your input and scored A or B on the same generator. Returns what those prompts did right — so you can adopt the same moves.

Use this when:

  • Your prompt scored C or below and you want inspiration

  • You want to see how the community solved the same creative problem

  • You need concrete A-grade examples, not abstract advice

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe prompt to find neighbors for.
generatorYesThe generation model (veo3, midjourney, flux, etc.)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotation indicates readOnlyHint=true, and the description does not contradict this. It discloses the method (graph traversal, pattern matching), the scoring threshold (A or B), and what it returns (what those prompts did right). This adds meaningful behavioral context beyond the annotation.

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 highly concise and well-structured. It starts with a clear one-line summary, then a paragraph explaining the method, followed by a bullet-point list of use cases. Every sentence provides valuable information without redundancy or unnecessary detail.

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?

Given that an output schema exists, the description does not need to detail return values. It covers purpose, method, and usage guidelines thoroughly. The tool has only two parameters, and the description provides sufficient context for an agent to decide when to invoke it. Minor improvement could be a brief note about the output format if not covered by the schema.

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?

Both parameters are documented in the schema (100% coverage). The description adds context by explaining that it looks for prompts scored A or B on the same generator, which reinforces the importance of the 'generator' parameter. It adds value by tying the parameters to the tool's purpose.

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?

The description clearly states that the tool finds community A/B-grade prompts structurally similar to the input, using graph traversal (Memgraph). It distinguishes from siblings like 'creative_patterns' and 'community_benchmark' by focusing on finding similar high-scoring prompts with concrete examples, but could explicitly contrast with these siblings for higher clarity.

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?

The description includes a 'Use this when:' list with three specific scenarios (prompt scored C or below, want community solutions, need concrete A-grade examples). This provides clear context for when to use the tool, but does not mention when not to use it or suggest alternative tools for different scenarios.

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.