Skip to main content
Glama

monitorar_novas_resolucoes

Monitor recent Brazilian Federal Council of Medicine resolutions within a configurable date window, newest first. Optionally filter by AI, telemedicine, and electronic records themes.

Instructions

Resoluções do CFM publicadas nos últimos dias, mais recentes primeiro.

A janela usa a data de publicação extraída do texto da resolução. As que ficaram sem data não entram, e sem_data_publicacao diz quantas são: total zero com esse número alto quer dizer "não sei", não "nada foi publicado".

A resposta traz total (quantas casam no período) e retornados (quantas vieram). Com truncado=true, aumente limite ou encurte dias.

Args: dias: tamanho da janela, em dias, a contar de hoje (máximo 3650). filtrar_tema: quando True, devolve só as que mencionam, na ementa ou no texto, as palavras-chave configuradas no servidor (por padrão inteligência artificial, telemedicina, prontuário eletrônico e algoritmo). limite: quantas resoluções trazer, no máximo 100.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diasNo
limiteNo
filtrar_temaNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
diasYes
avisoNo
totalYesQuantas resoluções datadas no período casam com o filtro, na base inteira, não quantas vieram nesta resposta.
truncadoNoTrue quando total > retornados. As que vieram são as mais recentes; as demais existem e não estão aqui. Aumente 'limite' ou encurte 'dias'.
resultadosYes
retornadosNoQuantas vieram em 'resultados', no máximo 'limite'
sem_data_publicacaoNoQuantas resoluções da base não têm data e por isso ficam fora deste filtro, existindo ou não no período. Número alto com total=0 significa 'não sei', não 'nada foi publicado'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • addedInput schema / properties / dias / maximum
      Added value: +3650
    • addedInput schema / properties / dias / minimum
      Added value: +1
    • addedInput schema / properties / limite
      Added value: +{
      +  "default": 50,
      +  "maximum": 100,
      +  "minimum": 1,
      +  "title": "Limite",
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / ResolucaoCFM / properties / nota_vigencia
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "O texto da marcação, como o CFM escreveu",
      +  "title": "Nota Vigencia"
      +}
    • addedOutput schema / $defs / ResolucaoCFM / properties / revogada_por / description
      Added value: +"Identificador da resolução que revogou esta, como o portal do CFM publica. Confira 'revogada_por_confere' antes de citar: o portal erra o ano em alguns casos."
    • addedOutput schema / $defs / ResolucaoCFM / properties / revogada_por_confere
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "False quando o identificador acima não existe na base, ou seja, o portal publicou um ano que não bate. Nesse caso veja 'revogada_por_provavel'.",
      +  "title": "Revogada Por Confere"
      +}
    • addedOutput schema / $defs / ResolucaoCFM / properties / revogada_por_provavel
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Única resolução com aquele número, quando o identificador publicado não existe. É inferência nossa a partir do número, não o que o CFM publicou: confirme na URL de origem antes de citar.",
      +  "title": "Revogada Por Provavel"
      +}
    • addedOutput schema / $defs / ResolucaoCFM / properties / suspensa
      Added value: +{
      +  "default": false,
      +  "description": "A ementa traz marcação de suspensão. Para quem vai aplicar a norma, suspensa tem o mesmo efeito prático de revogada.",
      +  "title": "Suspensa",
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / ResolucaoCFM / properties / suspensao_parcial
      Added value: +{
      +  "default": false,
      +  "description": "Só alguns dispositivos foram suspensos; o resto da norma segue valendo",
      +  "title": "Suspensao Parcial",
      +  "type": "boolean"
      +}
    • changedOutput schema / $defs / ResolucaoCFM / properties / trecho_relevante / description
      Previous value: -"Trecho do texto completo em volta do termo buscado"New value: +"Trecho do texto integral em volta do termo buscado. None por dois motivos diferentes, distinguidos por 'texto_completo_disponivel': se for false, o texto integral não foi baixado e a busca viu só a ementa; se for true, o termo não aparece no texto. Em nenhum dos casos conclua que a norma não trata do assunto, abra a URL de origem."
    • addedOutput schema / $defs / ResolucaoCFM / properties / vigente / description
      Added value: +"Só reflete revogação, que é o que o portal marca em campo próprio. Uma norma suspensa vem com vigente=true: veja 'suspensa' antes de concluir que ela está produzindo efeito."
    • addedOutput schema / properties / retornados
      Added value: +{
      +  "default": 0,
      +  "description": "Quantas vieram em 'resultados', no máximo 'limite'",
      +  "title": "Retornados",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / sem_data_publicacao
      Added value: +{
      +  "default": 0,
      +  "description": "Quantas resoluções da base não têm data e por isso ficam fora deste filtro, existindo ou não no período. Número alto com total=0 significa 'não sei', não 'nada foi publicado'.",
      +  "title": "Sem Data Publicacao",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / total / description
      Added value: +"Quantas resoluções datadas no período casam com o filtro, na base inteira, não quantas vieram nesta resposta."
    • addedOutput schema / properties / truncado
      Added value: +{
      +  "default": false,
      +  "description": "True quando total > retornados. As que vieram são as mais recentes; as demais existem e não estão aqui. Aumente 'limite' ou encurte 'dias'.",
      +  "title": "Truncado",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it discloses that the date window is based on the publication date extracted from the text, that undated resolutions are excluded, and that a high sem_data_publicacao with total zero means 'unknown' rather than 'nothing published'. It also explains the total/retornados response fields and the meaning of truncado=true, going well beyond a simple listing statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and then adds only high-value caveats and parameter semantics. The Args block is compact, and each sentence earns its place without filler or repetition of schema defaults.

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 read-only monitoring tool with no annotations, the description covers the essential call semantics: window definition, filtering, limits, response fields, and the truncation recovery action. The presence of an output schema is supplemented by the description of total, retornados, sem_data_publicacao, and truncado, so an agent has enough to invoke and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define the parameters, and it does: dias is the window in days from today (max 3650), filtrar_tema triggers server-side keyword filtering with default topics, and limite caps the number of returned resolutions (max 100). This adds real behavioral meaning that the bare schema cannot convey.

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 opens with 'Resoluções do CFM publicadas nos últimos dias, mais recentes primeiro,' which names the exact resource (CFM resolutions) and the operation (monitor/list recent publications). It also specifies ordering and the time window, making it easy to distinguish from the sibling consultar_resolucao_cfm even without naming it.

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?

The description explains how to adjust the call via dias, filtrar_tema, and limite, and how to interpret truncation, but it never explicitly states when to prefer this tool over consultar_resolucao_cfm or when not to use it. Usage is implied by the monitoring purpose rather than contrasted with alternatives.

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