Skip to main content
Glama

Save skill

save_skill

Create or update a skill (a named, reusable procedure). Calling again with the same name (+ same agent_id/brain_id, by you) updates it in place and bumps its version.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
stepsYesThe procedure itself, as plain text/markdown.
inputsNo
agent_idNo
brain_idNo
descriptionNo
trigger_hintNoWhen this skill should be recalled, e.g. 'when a customer asks about refunds'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnly=false, destructive=false, idempotent=false and openWorld=false. The description adds the genuinely non-obvious behavior: the upsert key is the composite of name plus agent_id/brain_id scoped to the calling agent, and repeat saves bump a version rather than overwrite silently. That explains why idempotentHint is false. It stops short of saying which optional fields get merged versus replaced on update.

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?

Two tight sentences, both earning their place: the first defines the operation and the resource, the second front-loads the upsert condition and the version consequence. No filler or repetition of structured fields.

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

Completeness3/5

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

For a 7-parameter mutation tool with low schema coverage and no output schema, the description covers the highest-risk aspect (silent overwrite of an existing skill) well. It leaves unclear what a caller gets back, how 'inputs' behaves, and whether omitted optional fields on an update are cleared or preserved.

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?

Schema description coverage is only 29% (only steps and trigger_hint are documented inline), so the description must carry weight. It contributes the composite-key semantics tying name to agent_id and brain_id, which the schema does not express. But inputs, description, and agent_id/brain_id themselves remain unexplained, so the compensation is partial.

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?

States a specific verb+resource ('Create or update a skill') and goes further by defining the resource ('a named, reusable procedure'). This clearly separates it from a read-side sibling like recall_skill, though it never names that sibling explicitly, so an agent must infer the pairing.

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

Usage Guidelines3/5

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

The description explains the re-invocation condition precisely (same name plus same agent_id/brain_id updates in place), which tells the agent when a call means create vs update. It gives no guidance on when to save versus retrieve, nor when to save a new skill versus rely on existing ones; usage is implied rather than directed.

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