Skip to main content
Glama

List MCP Server Prompts

mcpdev_inspector_list_prompts
Read-onlyIdempotent

Discover available prompt templates from a target MCP server by specifying its location and transport type. Use this to explore what prompts a server provides for integration or testing purposes.

Instructions

List all available prompts from a target MCP server.

Use this to discover what prompt templates a target MCP server provides.

Args:

  • target (string): Target MCP server - command or URL

  • transport ('stdio' | 'sse' | 'http'): Transport type

  • timeout_ms (number): Timeout in milliseconds (default: 60000)

Returns: JSON object with 'prompts' array containing prompt definitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse')
transportNoTransport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP
timeout_msNoTimeout in milliseconds (default: 60000)
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, and idempotentHint=true, covering safety and idempotency. The description adds useful context about discovering prompt templates and the return format ('JSON object with prompts array'), but doesn't mention rate limits, authentication needs, or error behavior beyond the timeout parameter.

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 efficiently structured with a clear purpose statement, usage context, parameter listing, and return format - all in four concise sentences. Every sentence earns its place by providing distinct information without redundancy.

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 read-only list operation with comprehensive annotations and full schema coverage, the description provides adequate context. It explains the purpose, usage, parameters, and return format. The main gap is the lack of an output schema, but the description compensates by specifying the return structure. It could benefit from more behavioral details like error handling.

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 fully documents all three parameters. The description's Args section repeats the parameter names and basic types but doesn't add meaningful semantic context beyond what's in the schema descriptions. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 specific action ('List all available prompts') and resource ('from a target MCP server'), distinguishing it from sibling tools like mcpdev_inspector_list_resources and mcpdev_inspector_list_tools. The second sentence further clarifies the purpose by explaining it's for discovering prompt templates.

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 provides clear context for when to use this tool ('to discover what prompt templates a target MCP server provides'), but doesn't explicitly state when not to use it or name specific alternatives among the sibling tools. It implies usage for prompt discovery but lacks explicit exclusions.

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/kongyo2/mcpdevmcp'

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