Skip to main content
Glama
CrisDeCrisis

MCP Domotica Backend

by CrisDeCrisis

consultar_habitacion

Retrieve detailed information about a specific smart home room including all connected devices and their current status.

Instructions

Obtiene información detallada de una habitación específica.

Args: room_name: nombre de la habitación

Returns: Información completa de la habitación incluyendo todos sus dispositivos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_nameYes

Implementation Reference

  • The handler function for the 'consultar_habitacion' tool. It calls storage.get_room_info(room_name) to fetch detailed information about the specified room.
    @mcp.tool() def consultar_habitacion(room_name: str) -> dict: """ Obtiene información detallada de una habitación específica. Args: room_name: nombre de la habitación Returns: Información completa de la habitación incluyendo todos sus dispositivos. """ return storage.get_room_info(room_name)
  • Type signature defining input (room_name: str) and output (dict) for the tool.
    def consultar_habitacion(room_name: str) -> dict: """ Obtiene información detallada de una habitación específica. Args: room_name: nombre de la habitación Returns: Información completa de la habitación incluyendo todos sus dispositivos. """ return storage.get_room_info(room_name)
  • Decorator that registers the function as an MCP tool.
    @mcp.tool()

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/CrisDeCrisis/mcp-domotica-backend'

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