Skip to main content
Glama

Create or update skill draft

save_skill
DestructiveIdempotent

Sube una skill que ya tienes en disco: CREA o ACTUALIZA su BORRADOR por name (el nombre de la carpeta: minúsculas, números y guiones). Repetir la llamada con el mismo nombre actualiza, no duplica. GUARDAR NO PUBLICA: los demás no la reciben hasta que llames a publish_skill. skillMd es el contenido de SKILL.md; files son los demás ficheros de TEXTO ({path, content}, ruta relativa a la carpeta) que se añaden o reemplazan por ruta sin tocar el resto; removePaths quita ficheros; replaceFiles=true hace que files sea la lista completa. Los binarios no se suben por MCP (se suben desde la web). Hay un tope por llamada (50 ficheros y 500.000 caracteres): una skill grande va en varias llamadas con el mismo nombre. dependencies son los nombres de otras skills DEL MISMO workspace de las que depende (si la pasas, sustituye a las anteriores); no se admiten ciclos. Exige plan de pago. workspaceId opcional: el workspace donde operar (list_workspaces los enumera). Sin él se usa el de la credencial.

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>"
    },
    "name": "save_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
filesNo
skillMdNo
descriptionNo
removePathsNo
workspaceIdNo
dependenciesNo
replaceFilesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior3/5

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

Annotations already declare a non-read-only, destructive, idempotent mutation, and the description corroborates all three (repeat calls update, removePaths deletes files, files adds or replaces entries). It goes well beyond the annotations by disclosing the draft-versus-published boundary, binary-file exclusion, merge semantics, and cycle restrictions on dependencies, which is genuinely useful behavioral context beyond the structured hints.

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?

One dense but well-ordered block: identity and idempotency first, then the publish boundary, then per-parameter semantics, then limits and prerequisites. Capitalized emphasis on CREATE/UPDATE, DRAFT, NO PUBLICA, TEXTO and MISMO carries real signal rather than decoration.

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 an 8-parameter mutation tool with no output schema and zero schema descriptions, the definition covers side effects, merge behavior, per-call limits with the workaround for large skills, exclusivity of dependencies, and the paid-plan gate. An agent could invoke it correctly without any other reference.

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?

Schema description coverage is 0%, so the description carries the full burden and broadly does: it defines the name charset, explains skillMd, the {path, content} shape and relative-path semantics of files, the effect of removePaths, the meaning of replaceFiles, the same-workspace/no-cycle rule for dependencies, and the credential fallback for workspaceId. Only the `description` parameter is left unexplained, a small gap against otherwise thorough 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?

States a concrete verb and resource ('Sube una skill... CREA o ACTUALIZA su BORRADOR') and immediately scopes it by `name` as the folder name. It explicitly separates itself from publish_skill, so an agent can tell that save_skill never makes the skill visible to others.

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?

Gives explicit when-to-use routing: repeated calls with the same name update rather than duplicate, and publishing requires a separate publish_skill call. It also names list_workspaces as the way to obtain workspaceId, and states the paid-plan prerequisite so the agent knows when the call will fail.

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