Skip to main content
Glama

Attach skills

attach_skills
Destructive

Set the list of skills an agent can load. Replaces the agent's current skill list.

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": {
      "agent_id": "<agent_id>",
      "names": "<names>"
    },
    "name": "attach_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYesSkill names; pass [] to detach all
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the overwrite nature is partly pre-announced; the description nevertheless reinforces it by stating that the agent's current skill list is replaced, which tells the agent exactly what existing state is lost. It says nothing about failure behavior for unknown skill names, whether omitted-but-existing skills are removed, or what the response contains.

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 short sentences, front-loaded with purpose and immediately followed by the replacement semantics. Every sentence carries information and there is no filler.

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 two-parameter destructive mutation with no output schema, the definition covers purpose and overwrite semantics but leaves gaps: agent_id is undocumented, invalid-skill-name behavior is unstated, and there is no note on whether detaching requires anything special. Adequate but clearly incomplete.

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

Parameters2/5

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

Schema coverage is only 50%: the names array is documented in the schema (including the valuable 'pass [] to detach all' note), but agent_id has no description anywhere. The description adds no parameter-level meaning of its own beyond the loose phrase 'an agent', so it fails to compensate for the coverage gap.

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 (Set) and resource (the list of skills an agent can load), and the second sentence clarifies that this is an overwrite rather than an append. It does not explicitly name a sibling such as list_skills or create_skill, so differentiation is left to inference.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no statement of prerequisites (e.g. the agent must exist, the skill names must be valid), and no named alternative. The only usage-relevant signal is the implied 'full replacement' semantics, which the agent must infer from 'Replaces'.

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.