Skip to main content
Glama

Usar un módulo en otro curso

link_shared_module

Add an existing module from a library or editable course to a classroom course by reference, so edits update every use; set an optional position and confirm publication before students see it.

Instructions

Añade un módulo existente (de una biblioteca o de otro curso que puedes editar) a un curso del aula, sin copiarlo: se edita una vez y cambia en todos. Va al final del curso salvo que indiques posición. Si el módulo está publicado, quien estudia el curso lo verá: confirma antes.

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": {
      "module_id": "<module_id>",
      "course_id": "<course_id>"
    },
    "name": "link_shared_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionNoPosición en el curso; por defecto, al final
course_idYes
module_idYes
classroom_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the single destructiveHint=false annotation, it discloses the key non-obvious trait: the module is linked, not duplicated, so one edit propagates to every course using it. It also states the default placement (end of course) and the student-visibility consequence when the module is published, plus a confirmation warning — exactly the context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then default placement, then the visibility warning — a sensible priority order with no filler. The sentences are dense but each adds information; slightly heavy nesting of clauses is the only cost.

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 4-parameter mutation with no output schema and no rich annotations, the description covers the essential behavior: linking semantics, propagation, placement default, and visibility. The unexplained classroom_id and the lack of return-value expectations are the remaining gaps, but neither blocks a correct call.

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?

With only 25% schema description coverage, only position is documented in the schema, and the description merely restates its default. It clarifies what module_id and course_id mean contextually (an existing module, a classroom course), but classroom_id is never explained, leaving a real gap in a 4-parameter tool.

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?

"Añade un módulo existente ... a un curso" names a specific verb and resource, and "sin copiarlo" explicitly separates it from a copy-style import (e.g. import_module_content). The parenthetical scoping of allowed sources (library or an editable course) makes the operation unambiguous.

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 states the condition for use (an already-existing module, from a library or another course you can edit) and warns to confirm before linking when the module is published, which is a real usage precondition. It stops short of naming the alternatives — linking vs. moving vs. unlinking vs. copying content — so the agent must infer that from sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools