Skip to main content
Glama
pedagogia-mcp

pedagogia-mcp

by pedbender123

memoria_ligar

Links two memory nodes with a typed relationship to turn stored claims into a connected graph, using reasons such as generated-by, complements, contradicts, about, requires, and feeds.

Instructions

Liga dois nós da memória. É esta chamada que faz a memória ser um grafo.

tipo:

  • gerou — o acontecimento fez nascer aquele conhecimento

  • complementa — um acontecimento posterior reforça ou detalha um conhecimento que já existia. É a ligação mais importante: use-a em vez de criar um conhecimento parecido com outro que já está lá

  • contradiz — o que se sabia estava errado (o nó velho não some: ganha o vizinho que o corrige)

  • sobre — liga qualquer nó a uma entidade (projeto, pessoa, máquina)

  • precisa — este só funciona depois daquele; o porque é o CRITÉRIO

  • alimenta — o resultado deste serve de entrada para aquele

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": {
      "de": "<de>",
      "para": "<para>",
      "tipo": "<tipo>"
    },
    "name": "memoria_ligar"
  }
}

Input Schema

NameRequiredDescriptionDefault
deYes
paraYes
tipoYes
porqueNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden; it does usefully disclose that `contradiz` is non-destructive ("o nó velho não some: ganha o vizinho que o corrige"). It says nothing about idempotency (duplicate edges), behavior when an id doesn't exist, or whether the edge is directional, which matters for a mutation tool.

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?

The purpose sentence is front-loaded, followed by a clean bulleted enumeration of edge types; no filler sentences. It runs slightly long, and the `porque` clarification is buried inside the `precisa` bullet rather than stated as a general parameter rule.

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 four-parameter graph-mutation tool with an output schema (so return values need no explanation), the description covers the hard part — the semantics of each relation type. The remaining gap is how `de`/`para` are sourced (which node identifiers to pass), which affects correct invocation.

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 0% and the titles are bare (`De`, `Para`, `Tipo`, `Porque`), so the description is the only source of meaning. It compensates well for `tipo` by enumerating and defining six values, and briefly for `porque` ("o `porque` é o CRITÉRIO" for `precisa`), but leaves `de` and `para` unexplained — the agent must guess these are node identifiers.

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 states a specific verb and resource ("Liga dois nós da memória") and immediately conveys the effect on the system: "É esta chamada que faz a memória ser um grafo." That distinguishes it from the note/buscar/resumo siblings, which operate on nodes rather than edges.

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?

Each `tipo` value is given a when-to-use condition, and one explicit preference rule is stated ("`complementa` … use-a em vez de criar um conhecimento parecido com outro que já está lá"), which steers the agent away from duplicate annotation. What's missing is an explicit when-not-to-use case or a named sibling alternative for those situations.

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