Skip to main content
Glama

Use skills in a drama

attach_skills
Idempotent

Pins skills to a drama (at most 12) at their latest version, so every agent and the studio follow the same house style for it, whoever works on it next. Listing a skill the drama already uses updates its pin to the latest version. get_drama_context shows the pinned skills.

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": {
      "drama_id": "<drama_id>",
      "skills": "<skills>"
    },
    "name": "attach_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
skillsYesSkill names or ids to pin to the drama, from list_skills.
drama_idYesThe drama id (drm_…), from list_dramas or create_drama.

Output Schema

NameRequiredDescriptionDefault
skillsYes
drama_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: the 12-skill cap, that pins always resolve to the latest version, and that re-listing an already-pinned skill re-pins it rather than erroring. Error behavior (invalid skill name, exceeding the cap) is not described.

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 tight sentences: primary action first, the duplicate-listing edge case second, the companion tool last. No filler and nothing that could be cut without losing information.

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

Completeness4/5

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

For a two-parameter mutation with full schema coverage and an output schema, the description covers purpose, cap, version semantics, and duplicate handling. It omits failure modes such as what happens past 12 skills or with an unknown skill name, which is the only notable gap.

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 100% and both parameters carry their own descriptions naming the source tools (list_skills, list_dramas/create_drama). The description reinforces that skills are pinned at their latest version but adds no new syntax or format detail beyond the schema, so the baseline 3 applies.

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: "Pins skills to a drama (at most 12) at their latest version." It states the effect on the drama and names the companion read tool get_drama_context, so an agent can distinguish this from detach_skill or list_skills without reading the schema.

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 gives clear context for when the tool applies (pinning house-style skills so every agent and the studio follow the same version) and routes the agent to get_drama_context to inspect current pins. It does not explicitly say when not to use it or how it relates to detach_skill/delete_skill, so a small gap remains.

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.