Skip to main content
Glama
fabianofilho

protocolos-pcdt-mcp

by fabianofilho

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QWEN_MODELNoModel name for the local LLM. Any name accepted by llama.cpp or LM Studio.local-model
DUCKDB_PATHNoPath to the local DuckDB database file../data/pcdt.duckdb
QWEN_ENDPOINTNoEndpoint URL for the local OpenAI-compatible LLM. Examples: Ollama: http://11434/v1, LM Studio: http://1234/v1http://127.0.0.1:8080/v1
SYNC_HORA_LOCALNoScheduled time for automatic collection (local time, format HH:MM).02:40
COLETA_DELAY_SEGUNDOSNoDelay in seconds between PDF downloads during collection.1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
consultar_protocoloA

Consulta o PCDT vigente do Ministério da Saúde para uma doença ou condição.

Devolve nome da condição, status, portaria, link do PDF completo e do PCDT resumido, e quais seções foram extraídas. Se houver mais de um protocolo relacionado, devolve todos — a escolha é de quem pergunta.

Args: doenca_ou_condicao: nome da doença ou condição, por exemplo "asma".

resumir_condutaA

Resume a conduta de um PCDT para um contexto clínico específico.

Em vez de devolver o protocolo inteiro, extrai a parte que responde ao contexto — por exemplo "paciente com contraindicação a metformina". A resposta traz sempre a citação literal do trecho que sustenta o resumo, e diz se essa citação foi de fato encontrada no protocolo.

É ajuda de leitura, não substitui o protocolo: o link do PDF vem junto.

Args: pcdt_id: identificador devolvido por consultar_protocolo. contexto_clinico: a situação concreta sobre a qual se quer a conduta.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 2 tools

Disambiguation5/5

The two tools serve clearly different functions: one searches and retrieves protocol information, the other summarizes clinical conduct based on a specific context. There is no overlap or ambiguity in their purposes.

Naming Consistency5/5

Both tool names follow the verb_noun pattern (consultar_protocolo, resumir_conduta) and are in Portuguese, consistent and predictable.

Tool Count3/5

With only 2 tools, the server feels thin, though the scope is narrow. It is bordering on inadequate but still minimally functional for its stated purpose of querying and summarizing PCDTs.

Completeness3/5

While the two tools cover querying and summarizing, there is no way to list all available protocols or discover them without knowing a specific disease. This is a notable gap for a medical reference server.

Maintenance

ActivityMaintained
ResponsivenessNo issues