Skip to main content
Glama

Save a user capability

save_agent_capability
DestructiveIdempotent

Save reusable workflows as named capabilities for future discovery and execution in any session.

Instructions

Save a reusable workflow as a named capability so it can be discovered with list_agent_capabilities and run with run_poml_capability in any future session. Content may be POML (validated before saving; supports context parameterization) or plain markdown instructions. Writes only to the user-capabilities directory; builtin capabilities cannot be modified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
contentYes
overwriteNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate destructiveHint and idempotentHint, but the description adds valuable details: it validates POML before saving, supports context parameterization, and restricts writes to the user-capabilities directory. It also clarifies that builtin capabilities cannot be modified, which is a behavioral constraint not obvious from the schema.

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 concise and well-structured. It front-loads the purpose, then details content formats, and ends with a scoping constraint. Every sentence adds value without redundancy, making it easy to parse quickly.

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?

The description provides sufficient information for an agent to call the tool correctly: it explains the purpose, content format, and directory scope. Since an output schema exists, the return format does not need to be described. The only minor gap is the semantics of the overwrite parameter, which is not mentioned but is a boolean with a default in the schema, so it is discoverable.

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 0% schema description coverage, the description must explain parameters. It does explain 'content' by specifying allowed formats (POML with validation and context parameterization, or plain markdown). It implicitly refers to 'name' as 'named capability', but it does not explain the 'overwrite' parameter at all, leaving its behavior unspecified. The description adds some meaning but does not fully compensate for the lack of schema documentation.

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 verb 'Save' and the resource 'a reusable workflow as a named capability'. It also differentiates from siblings by specifying the destination directory and that builtin capabilities cannot be modified, making it distinct from tools like delete_capability or save_pipeline.

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 a reusable workflow as a capability for future sessions. It also gives context on content formats (POML or markdown) and a constraint (builtin cannot be modified), which implicitly guides when not to use it. However, it does not explicitly name alternative tools or provide direct comparisons with siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.