Skip to main content
Glama

coletiva

Aulas do professor: ver e propor melhoria (fila de conferência)

coletiva_docente_aula

Só para PROFESSORES da COLETIVA_ com a conta conectada, e só nas aulas atribuídas a ele. acao='listar' sem aula_id devolve a lista enxuta das aulas dele (id, curso, eixo, ordem, título, se está publicada, gravada ou compartilhada, quantas conexões por tipo e as propostas já enviadas); acao='listar' com aula_id devolve UMA aula inteira, com o resumo e cada conexão (julgados, lei, questões, wikis e doutrina). acao='enviar' manda uma proposta para a FILA de conferência da casa — NUNCA edita a aula: alvo 'apoio' (texto revisado do material de apoio) ou alvo 'conexoes' (lista de incluir/tirar). Os SLIDES não passam por aqui: ficam em coletiva_slides (rascunho da aula) e no editor em coletiva.online/docente/. Nas conexões, ref_id é o id de um resultado de coletiva_buscar; o que não está no acervo vai em 'referencia' (ex.: 'STJ, REsp 1.234.567/SP'). A proposta é conferida na rodada diária (8h e 19h); a resposta aparece em coletiva.online/docente/. 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_docente_aula"
  }
}

Input Schema

NameRequiredDescriptionDefault
acaoYeslistar (as aulas dele) ou enviar (uma proposta).
alvoNoapoio (material de apoio) ou conexoes.
notasNoRecado para a equipe (opcional, até 2.000 caracteres).
textoNoPara apoio: o que muda (slide a slide ou trecho a trecho, com a fonte de afirmação jurídica nova), 40 a 200.000 caracteres. Opcional em conexoes.
aula_idNoPara enviar: o id da aula (vem de acao='listar'). Com listar (opcional): só esta aula, com resumo e conexões.
conexoesNoSó com alvo 'conexoes' (até 60).

Output Schema

NameRequiredDescriptionDefault
linkNo
aulasNo
motivoNo
enviadoNo
conectadoYes
protocoloNo

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?

Annotations only declare the generic hint set, so the description carries the real weight: it states the write is non-destructive to the lesson ('NUNCA edita a aula'), that output lands in an asynchronous review queue with fixed daily rounds (8h and 19h), where the answer surfaces, and that non-professor accounts are rejected. That is behavioral context an agent could not infer from readOnlyHint=false / destructiveHint=false alone.

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 access constraint, then ordered by acao mode, then exceptions — a logical reading path. It is a dense single block with no wasted sentence, though the run-on packing of return fields and edge cases makes it harder to scan than a short bulleted structure would be.

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?

Even though an output schema exists, the description usefully previews what each listar variant returns, and it closes the operational loop (who may call, what enviar does, when review happens, where results appear, which tool owns slides). Nothing an agent needs to invoke it correctly is missing.

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 baseline is 3; the description still adds meaning by explaining the ref_id vs. referencia split for conexões and giving a concrete format example ('STJ, REsp 1.234.567/SP'), plus which alvo accepts which payload. It largely mirrors the schema rather than extending it, so it lands just above baseline.

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?

States a concrete verb+resource pair per mode (listar devolve aulas; enviar manda proposta para a fila), and explicitly demarcates the boundary with coletiva_slides and the editor, so an agent can tell it apart from siblings without opening a schema.

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?

Gives explicit when-to-use routing: acao='listar' without aula_id for the lean list, with aula_id for one full lesson, acao='enviar' for proposals; plus explicit exclusions (slides go to coletiva_slides, ref_id comes from coletiva_buscar) and an eligibility rule (only professors, student accounts refused).

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