Skip to main content
Glama

coletiva

Slides da aula do professor: montar e editar o rascunho

coletiva_slides
Destructive

Só para PROFESSORES da COLETIVA_ com a conta conectada, e só nas aulas atribuídas a ele (ids em coletiva_docente_aula, acao='listar'). acao='instrucoes' devolve o formato curto da casa, as regras de desenho e exemplos reais; acao='ler' devolve o rascunho atual no formato curto e a versao; acao='gravar' SUBSTITUI o rascunho inteiro pelo deck enviado, desde que a versao seja a lida (se o rascunho mudou no meio, a gravação é recusada). A casa guarda como RASCUNHO e nunca publica: o professor revisa e publica no editor (coletiva.online/docente/slides.html?aula=). Até 30 gravações por dia; conta de aluno é recusada.

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": {
      "acao": "<acao>"
    },
    "name": "coletiva_slides"
  }
}

Input Schema

NameRequiredDescriptionDefault
acaoYesinstrucoes (o formato), ler (o rascunho) ou gravar (o deck inteiro).
curtoNoPara gravar: o deck INTEIRO no formato curto (cada slide começa por uma linha '= ').
versaoNoPara gravar: a versao que acao='ler' devolveu.
aula_idNoPara ler e gravar: o id da aula (de coletiva_docente_aula, acao='listar').

Output Schema

NameRequiredDescriptionDefault
linkNo
curtoNo
motivoNo
slidesNo
versaoNo
gravadoNo
conectadoYes
instrucoesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses the crucial behaviors: 'gravar' replaces the ENTIRE draft rather than patching it, the write is refused if the version no longer matches what 'ler' returned (optimistic concurrency), and nothing is ever published from here — the house keeps it as a draft. It adds a concrete rate limit (30 writes/day) and the authorization rule (student accounts refused), all of which align with destructiveHint=true rather than contradicting it.

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?

It is a single dense paragraph with the access restriction front-loaded and the destructive semantics clearly marked in caps, so an agent scanning quickly catches the risk. A few clauses (the editor URL, the design-rules mention) are less essential, and line breaks per action would scan better, but almost nothing is wasted.

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?

For a mutating, role-gated tool this covers everything an agent must know before calling: who may call, which classes are legal, what each action yields, that writes are whole-deck replacements with a version precondition, the daily quota, and where publishing actually happens. An output schema exists, so it correctly does not spend words on return shapes.

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 would be 3, but the description adds inter-parameter meaning the schema does not: 'versao' must be the value that 'ler' returned or the write is rejected, and 'aula_id' must come from coletiva_docente_aula with acao='listar'. The 'curto' payload is characterized as the whole deck rather than a fragment, which matters for correct invocation.

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 names the resource (the teacher's class slides draft) and enumerates the three operations via the 'acao' enum, spelling out what each one returns or does. It also scopes who may call it (PROFESSORES with a connected COLETIVA_ account, only for classes assigned to them), which distinguishes it cleanly from siblings like coletiva_docente_aula, whose 'listar' action is named as the source of valid ids.

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

Usage Guidelines5/5

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

It gives explicit when-to-use routing per action ('instrucoes' for the house short format and design rules, 'ler' for the current draft plus version, 'gravar' to submit a whole deck) and states when-not: student accounts are refused and the tool is limited to classes assigned to the caller. It also names the alternative path for the final step, telling the agent that publishing happens in the web editor, not here.

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