Skip to main content
Glama

Añadir o editar un recurso del aula

save_resource

Create or update a classroom resource link as an administrator; provide title and URL to add a new resource, or a resource ID to modify its details.

Instructions

Solo administrador del aula. Enlace en Recursos del aula (solo administrador). Sin resource_id lo crea (title y url obligatorios). Los archivos se suben desde la plataforma.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
titleNoTítulo
descriptionNoDescripción (omítelo para no cambiarlo; "" lo borra)
resource_idNo
classroom_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the single destructiveHint=false annotation, the description discloses an authorization requirement (classroom admin only) and the create-vs-update branching keyed on resource_id, which the annotation does not convey. It does not explain whether an update can overwrite existing fields or what the response contains, but the added auth and mode context is substantive.

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?

Four short fragments, front-loaded with the authorization constraint and the create/edit rule; nothing is redundant. The telegraphic phrasing is slightly clipped but each clause carries information.

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 5-parameter mutation tool with no output schema, the description covers auth, mode selection, and the file-upload exclusion well. However, classroom_id is never explained and there is no note on partial updates beyond the schema's description-field hint, leaving the definition short of fully self-sufficient.

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 coverage is only 40%, with url, resource_id, and classroom_id undocumented in the schema. The description compensates for resource_id (presence switches to edit mode) and title/url (required for creation), but leaves classroom_id and the URL format entirely unexplained, so the gap is only partly closed.

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?

The description states a specific verb+resource (save a classroom resource) and clarifies the upsert nature: 'Sin resource_id lo crea' tells the agent this both creates and edits. It is clear what the tool does, though it does not name any sibling tool to distinguish itself from.

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 establishes a clear precondition ('Solo administrador del aula') and implicitly scopes usage to link-type resources by noting 'Los archivos se suben desde la plataforma', which steers the agent away from using it for file uploads. It stops short of naming an alternative tool for the file case or for other save_* siblings.

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