Skip to main content
Glama

save_pipeline

Store a pipeline configuration with a unique name for later reuse in searches. Overwrites existing pipelines with the same name.

Instructions

Save a pipeline configuration for later reuse.

The config format is identical to unified_search's pipeline parameter (YAML or JSON). Saved pipelines can be loaded later by name: unified_search(pipeline="saved:weekly_remimazolam")

Args: name: Unique identifier (alphanumeric + hyphens/underscores, max 64 chars). Overwrites if name already exists (upsert semantics). config: Pipeline YAML/JSON string. Same format as unified_search pipeline param. tags: Comma-separated tags for filtering (e.g., "anesthesia,sedation"). description: Human-readable description of the pipeline's purpose. scope: Storage scope - "workspace" (project-level, git-trackable), "global" (user-level, cross-project), or "auto" (workspace if available, otherwise global). Default: "auto".

Returns: Confirmation with pipeline metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
configYes
tagsNo
descriptionNo
scopeNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Despite no annotations, the description adequately discloses key behaviors: upsert semantics (overwrites if exists), storage scopes (workspace/global/auto), and config format (YAML/JSON). It omits error handling or authentication needs, but covers the most critical aspects.

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 well-structured with a main sentence, a supporting paragraph, an Args list, and a Returns note. Every sentence adds value without redundancy, making it efficient and easy to parse.

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

Completeness5/5

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

For a save tool with 5 parameters (2 required) and no annotations, the description covers purpose, usage, parameter details, and return value. It provides sufficient context for correct invocation, including upsert and scope behavior. No major gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates excellently by detailing each parameter: name constraints (max 64 chars, allowed characters, upsert), config format, tags as comma-separated, description purpose, and scope options with default. This provides full meaning beyond the schema.

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 saves a pipeline configuration for later reuse, with a specific verb and resource. It distinguishes itself from siblings like load_pipeline and delete_pipeline by emphasizing storage and reuse.

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 explains when to use the tool (to save for later reuse) and gives an example of loading via unified_search. However, it doesn't explicitly exclude alternatives like manage_pipeline or schedule_pipeline for similar tasks, which is a minor gap.

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/u9401066/pubmed-search-mcp'

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