Skip to main content
Glama

Update skills

update_skills
Idempotent

Replace the profile's whole skills list: every existing skill is deleted and the list given is saved in its place, so pass the complete list, including skills you are not changing. Saved skills get new ids. Read the current list with get_profile_section (section "skills"). Returns the saved skills array.

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": {
      "id": "<id>",
      "skills": "<skills>"
    },
    "name": "update_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
skillsYesThe complete new skills list, at least one skill.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Without leaning on annotations, it discloses the two facts that matter most for a replace operation: all existing skills are deleted, and saved skills receive new ids, so callers must resend unchanged entries. It also states the return value ('the saved skills array'). The deletion wording sits slightly in tension with destructiveHint=false, though a whole-list replace is idempotent and does not destroy a resource, so this reads as added clarity rather than a mismatch.

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?

Three sentences, front-loaded with the consequential fact (whole-list replacement) before the mechanics (new ids) and the follow-up action. No filler or redundant 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 no output schema, the description supplies the return value, and for a 2-parameter idempotent mutation it covers the destructive semantics, id churn, prerequisites, and the read-before-write path. Nothing an agent needs to call this correctly is missing.

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, but the description adds real meaning the schema cannot: skills must be the complete list, including entries that are not changing, because existing ones are dropped. It also directs the caller to list_profiles-derived ids implicitly via the 'current list' lookup.

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 opens with a specific verb and resource: 'Replace the profile's whole skills list.' It immediately distinguishes itself from other update_* tools by scoping the operation to the skills list, and the follow-on sentence clarifies that this is a wholesale replacement rather than a per-item edit.

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?

It clearly states when to use it (full replacement of the list) and gives the prerequisite step – read the current list with get_profile_section (section "skills") – plus the critical usage rule to pass unchanged skills too. It does not explicitly exclude alternatives such as a partial-edit tool, but the whole-list semantics make the boundary clear.

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