Skip to main content
Glama

KivoHub Pesquisa de Leis

Súmula ou tema de tribunal

get_precedent
Read-onlyIdempotent

Enunciado de súmula do STF, STJ ou TST (inclui OJ do TST), ou tema do STJ ou do STF (repercussão geral), com a questão, a tese e o link da fonte. O mesmo número de tema existe em tribunais diferentes. Cada resultado traz status: verified (conferido no texto compilado do Planalto), unverified (ainda não conferido), under_review (o texto desta base difere do oficial e não é exibido) ou revoked (revogado).

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": {
      "court": "<court>",
      "number": "<number>"
    },
    "name": "get_precedent"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo"sumula" (padrão), "tema" (STJ ou STF) ou "oj" (OJ do TST)sumula
courtYes"STF", "STJ" ou "TST"
numberYesNúmero da súmula ou do tema ("331", "677"). OJ do TST com o órgão: "SDI-1 191"
bindingNotrue para súmula vinculante do STF

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"\"sumula\" (padrão) ou \"tema\" (repetitivo do STJ ou repercussão geral do STF)"New value: +"\"sumula\" (padrão), \"tema\" (STJ ou STF) ou \"oj\" (OJ do TST)"
    • changedInput schema / properties / number / description
      Previous value: -"Número da súmula ou do tema. Ex.: \"331\", \"677\""New value: +"Número da súmula ou do tema (\"331\", \"677\"). OJ do TST com o órgão: \"SDI-1 191\""
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description earns credit for disclosing the four status values, notably that under_review entries are not displayed and revoked entries are revoked — real behavioral context an agent needs to interpret results. It does not say what happens when a precedent is not found.

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?

Three compact sentences: resource definition first, the cross-court caveat second, the status enumeration last. Dense but every clause carries information; the status clause is the longest and could be tightened but is not padding.

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?

An output schema exists, so return shape need not be re-explained, and the description still adds the key status semantics on top of it. Authorship/source verification provenance is mentioned (Planalto compiled text), leaving only the not-found behavior unaddressed.

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 schema carries kind/court/number/binding definitions. The description still adds meaning beyond it by flagging that tema numbers collide across courts, which directly explains why court and number must be supplied together, and by reinforcing that OJ requires the órgão in the number.

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 names a specific resource and scope: súmula statements from STF/STJ/TST (including TST OJ) and temas with repercussão geral, plus what each result contains (questão, tese, source link). It is clear enough to distinguish from generic legislation lookups, though it never names get_provision or search_legislation to route the agent explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: fetch one known precedent by court + number. The note that 'o mesmo número de tema existe em tribunais diferentes' implicitly warns the agent to always pair court with number, but there is no explicit when-to-use/when-not guidance and no pointer to search_legislation for discovery versus this tool for direct retrieval.

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.