Skip to main content
Glama
joao-parana

AutoPeças MCP Server

by joao-parana

leitos_listar_leitos

Read-onlyIdempotent

List hospital beds with pagination and filters for type, occupancy status, and cleaning status to manage bed availability and maintenance.

Instructions

Lista todos os leitos hospitalares com paginação e filtros combinados.

Visão completa equivalente ao Agent Diretoria do N8N — sem restrição de tipo de quarto. Filtrável por tipo, Status_Ocupacao e Status_Limpeza.

Colunas da planilha: ID_Leito, Quarto, Tipo_Quarto, Status_Ocupacao, Status_Limpeza, Paciente, Ultima_Limpeza.

Args: params (ListarLeitosInput): - tipo_quarto (Optional[str]): 'Enfermaria', 'UTI', 'Apartamento', 'Semi-Intensivo' - status_ocupacao (Optional[str]): 'Disponível', 'Ocupado', 'Reservado' - status_limpeza (Optional[str]): 'Concluído', 'Pendente', 'Em Andamento' - limit (int): Máximo de resultados (padrão: 20) - offset (int): Paginação (padrão: 0) - formato (str): 'markdown' ou 'json'

Exemplos: - "Todos os leitos de UTI" → tipo_quarto="UTI" - "Leitos com limpeza pendente" → status_limpeza="Pendente" - "Leitos disponíveis" → status_ocupacao="Disponível"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering safety aspects. The description adds valuable behavioral context: it specifies the output columns, mentions pagination behavior, and indicates the tool provides a 'complete view' without restrictions. However, it doesn't mention rate limits or authentication requirements.

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 description is well-structured with clear sections: purpose statement, scope clarification, output columns, parameters with details, and usage examples. Every sentence adds value, though the parameter listing is somewhat verbose. The information is front-loaded with the most important details first.

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?

Given the tool's complexity (multiple filters, pagination, output format options) and the presence of both comprehensive annotations and an output schema, the description is complete. It covers purpose, differentiation from siblings, parameter semantics, output structure, and usage examples. The output schema will handle return value documentation, so the description appropriately focuses on usage guidance.

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%, but the description compensates by listing all parameters with their purposes, allowed values, and defaults. It provides concrete examples of how to use each filter parameter. However, it doesn't explain parameter interactions or edge cases beyond what's implied by the examples.

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 clearly states the tool's purpose: 'Lista todos os leitos hospitalares com paginação e filtros combinados.' It specifies the verb (list), resource (hospital beds), and scope (with pagination and combined filters). It distinguishes from siblings like 'leitos_listar_enfermaria' and 'leitos_listar_uti' by noting it's a 'complete view' without room type restrictions.

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?

The description provides explicit guidance on when to use this tool versus alternatives. It states it's the 'complete view equivalent to Agent Diretoria do N8N — without room type restriction,' implying it's more comprehensive than filtered siblings. It also gives specific examples of filter combinations, helping the agent understand appropriate use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joao-parana/mcp-alura'

If you have feedback or need assistance with the MCP directory API, please join our Discord server