Skip to main content
Glama
joao-parana

AutoPeças MCP Server

by joao-parana

leitos_atualizar_status_limpeza

Idempotent

Update the cleaning status of a hospital bed in a Google Sheets database by specifying the bed ID and new status like 'Completed' or 'Pending'.

Instructions

Atualiza o campo Status_Limpeza de um leito na planilha Google Sheets.

Operação de ESCRITA — equivale ao nó 'Atualizar Base de Dados Hospital' do N8N (mcp-all-nodes.json). Localiza o leito pelo ID_Leito e atualiza apenas o campo Status_Limpeza.

Requer que a Service Account tenha permissão de EDITOR na planilha.

Args: params (AtualizarStatusLimpezaInput): - leito_id (str): ID do leito a atualizar (campo ID_Leito, ex: 'A-101') - status_limpeza (str): Novo status (ex: 'Concluído', 'Pendente', 'Em Andamento')

Returns: str: Confirmação da atualização ou mensagem de erro.

Exemplos: - "Marcar limpeza do A-101 como concluída" → leito_id="A-101", status_limpeza="Concluído" - "Sinalizar UTI-05 com limpeza pendente" → leito_id="UTI-05", status_limpeza="Pendente"

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 indicate this is a non-destructive, idempotent write operation. The description adds valuable context beyond annotations: it specifies this is a WRITE operation, requires EDITOR permissions for the Service Account, and only updates the Status_Limpeza field while locating by ID_Leito. It doesn't mention rate limits or error handling specifics.

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?

Well-structured with purpose statement, operational context, requirements, parameters, returns, and examples. The description is appropriately sized but could be slightly more concise in the operational context section. Every section adds value.

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 this is a write operation with 1 parameter object containing 2 fields, 0% schema coverage, no output schema, and annotations covering safety aspects, the description is complete. It explains what the tool does, when to use it, permission requirements, parameter meanings with examples, and return expectations.

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?

With 0% schema description coverage, the description fully compensates by clearly explaining both parameters in the Args section with examples. It defines leito_id as the bed ID to update and status_limpeza as the new cleaning status value, providing concrete examples like 'Concluído', 'Pendente', 'Em Andamento'.

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 specific action ('Atualiza o campo Status_Limpeza'), the resource ('de um leito na planilha Google Sheets'), and distinguishes from siblings by focusing on updating only the cleaning status field rather than listing, notifying, or checking availability like other leitos_* tools.

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?

The description provides clear context about when to use this tool (to update cleaning status of a specific bed) and mentions it's equivalent to a specific N8N node, but doesn't explicitly state when NOT to use it or compare with alternatives like leitos_obter_detalhes_leito for read operations.

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