Skip to main content
Glama

list_prompts

Fetch LangSmith prompts by visibility and limit, returning prompt metadata for collection management.

Instructions

Fetch prompts from LangSmith with optional filtering.

Args: is_public (str): Filter by prompt visibility - "true" for public prompts, "false" for private prompts (default: "false") limit (int): Maximum number of prompts to return (default: 20)

Returns: Dict with prompts and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of prompts to return
is_publicNoFilter by prompt visibility - "true" for public prompts, "false" for private promptsfalse
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states 'Fetch prompts' and returns 'Dict with prompts and metadata.' It does not disclose pagination behavior, ordering, auth requirements, or any side effects. For a read operation, this minimal detail is a significant gap.

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 a single sentence followed by Args and Returns sections. It is concise and front-loaded, though the Args section duplicates schema info, which is slightly redundant. Still, it avoids waste and maintains a clear structure.

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

Completeness2/5

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

The tool has a low-complexity schema but no output schema. The description only gives a vague return type ('Dict with prompts and metadata') without explaining the structure, pagination, or filtering semantics. Given the lack of annotations and output schema, more contextual detail is needed for correct invocation.

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?

The schema provides 100% coverage of both parameters with descriptions and defaults. The description's Args section simply reiterates the schema information without adding new meaning, so it does not compensate beyond the existing 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 states 'Fetch prompts from LangSmith with optional filtering' which clearly identifies the operation (fetch/list) and resource (prompts). It distinguishes from siblings like get_prompt_by_name (which fetches a single prompt) by implying a list operation with optional filters.

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?

The description provides no guidance on when to use this tool versus alternatives such as get_prompt_by_name or other list tools. It mentions optional filtering but does not state exclusions or alternative references, leaving the agent without decision-making context.

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/amitrechavia/langsmith-mcp-server-js'

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