Skip to main content
Glama

Save a skill

save_skill

Saves reusable instructions (a skill) for the person asking, or for their company, so they are offered again in later conversations. Call it only when the user asked to save a skill and has seen the text. Write plain steps for how to approach a task with the connected tools. Never put passwords, keys, customer data or personal data in a skill. A skill never gives access to data. Use scope personal unless the user asked to share it with their company. To change a skill, pass its id; only skills this person created can be changed, and every change is kept as a version. Sharing with other companies is done in the web portal, not here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoomit to create a new skill; the id of a skill the person created to change it
nameNoshort title, at most 80 characters (required when creating)
noteNoone line saying why this version was saved
scopeNopersonal (default, only the person asking) or company (everyone in their company)
activeNofalse switches the skill off, true switches it on
descriptionNoone line, at most 300 characters, saying when this skill should be used (required when creating)
instructionsNothe skill text in plain steps, at most 20 KB (required when creating)
expected_versionNothe version read last; the save is refused if the skill has changed since
requires_systemsNosystem ids from list_connected_systems that must be connected for the skill to be offered

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
scopeYes
activeYes
messageYes
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare this is a non-read-only, non-destructive, non-idempotent write, and the description adds substantive behavior on top: every change is retained as a version, only skills created by the asking person can be modified, expected_version-style conflicts are surfaced via the change path, and a skill never grants data access. The security constraints (no passwords, keys, customer or personal data) are behavioral guidance the schema cannot express. Nothing contradicts the annotations.

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?

Purpose is front-loaded in the first sentence, then preconditions, content rules, security prohibitions, scope default, update semantics, and the out-of-scope note follow in a logical order. Every sentence carries a distinct rule; none is padding or a restatement of the name.

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?

With nine parameters, zero required fields, and an output schema present, the description covers the pieces an agent would otherwise guess wrong: create-vs-update selection, scope default, and content restrictions. Return values need not be described because an output schema exists, and the remaining parameter detail is fully covered by the schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3 and the schema already documents each field. The description still adds meaning beyond the schema by tying id to an authorization rule ('only skills this person created can be changed') and to versioning ('every change is kept as a version'), and by stating the personal-by-default policy for scope. It does not add anything for active or requires_systems, which is a minor gap only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Saves reusable instructions (a skill)') and explains the effect ('so they are offered again in later conversations'), which tells an agent exactly what gets produced. It does not explicitly contrast itself with the sibling get_skill, so the read/write split must be inferred from the verb, keeping it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit precondition ('Call it only when the user asked to save a skill and has seen the text'), a default for the ambiguous scope choice ('Use scope personal unless the user asked to share it with their company'), and a routing rule for the update path ('To change a skill, pass its id'). It even names an out-of-scope action that must happen elsewhere ('Sharing with other companies is done in the web portal, not here'), which is exactly the kind of exclusion agents get wrong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources