Skip to main content
Glama
LumabyteCo

Clarifyprompt-MCP

list_modes

Lists available output modes for prompt optimization, including concise, detailed, structured, and technical formats, to help users select the best format for their AI platform needs.

Instructions

List available output modes for prompt optimization (concise, detailed, structured, step-by-step, bullet-points, technical, simple)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The list_modes tool handler - registered via server.tool() with an inline async function that returns the MODES array as JSON. This is both the registration point and the handler implementation.
    server.tool(
      "list_modes",
      "List available output modes for prompt optimization (concise, detailed, structured, step-by-step, bullet-points, technical, simple)",
      {},
      async () => {
        return { content: [{ type: "text" as const, text: JSON.stringify(MODES, null, 2) }] };
      }
    );
  • The MODES constant definition - an array of mode objects each with id, label, and description. This is the data source returned by the list_modes tool.
    export const MODES: { id: Mode; label: string; description: string }[] = [
      { id: 'concise', label: 'Concise', description: 'Short and to the point' },
      { id: 'detailed', label: 'Detailed', description: 'Comprehensive with examples' },
      { id: 'structured', label: 'Structured', description: 'Organized with clear sections' },
      { id: 'step-by-step', label: 'Step-by-Step', description: 'Sequential instructions' },
      { id: 'bullet-points', label: 'Bullet Points', description: 'List format, scannable' },
      { id: 'technical', label: 'Technical', description: 'Expert-level depth' },
      { id: 'simple', label: 'Simple', description: 'Plain language, easy to understand' },
    ];
  • The Mode type definition - a union type of all valid mode identifiers: 'concise' | 'detailed' | 'structured' | 'step-by-step' | 'bullet-points' | 'technical' | 'simple'
    export type Mode = 'concise' | 'detailed' | 'structured' | 'step-by-step' | 'bullet-points' | 'technical' | 'simple';

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/LumabyteCo/clarifyprompt-mcp'

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