Skip to main content
Glama
espressif

ESP RainMaker MCP Server

Official
by espressif

get_node_details

Retrieve comprehensive details for one or all ESP RainMaker nodes in a single call, supporting filters for node ID, name, or type to focus on specific devices.

Instructions

PREFERRED TOOL for getting comprehensive node information efficiently. Gets config, status, and params in a single API call instead of multiple separate calls.

USAGE:

  • To get all nodes: set node_id=None (default).

  • To get a single node: set node_id to a single node ID string.

    • Only a single node ID is supported. Do NOT use a comma-separated list or array.

    • If the node is not found or not accessible, the result will be an empty dict or contain empty/unknown fields.

FILTERING & FIELD SELECTION:

  • fields: comma-separated list of fields to include in the output (e.g. "node_id,name,type,config,params,status.connectivity,fw_version,mapping_timestamp").

  • name: substring match (matches user-visible name, extracted from params.{DeviceType}.Name).

  • type_: substring match (matches device type, from config.devices[].type).

  • node_id: single node ID string (for a single node), or None (for all nodes).

MULTIPLE NODE FILTERING:

  • To filter for multiple node IDs, set node_id=None and use filtering (e.g. by name or type) in post-processing.

  • Passing a comma-separated list of node IDs is NOT supported and will result in an error.

RETURN VALUE:

  • If a single node is requested, returns a dict (or empty dict if not found).

  • If all nodes are requested, returns a list of dicts (one per node).

EXAMPLES:

  • Get all nodes, only node_id and name: get_node_details(ctx, fields="node_id,name")

  • Get a single node by ID: get_node_details(ctx, node_id="30EDA0E0AF48", fields="node_id,name,config")

  • Get all nodes of type 'lightbulb': get_node_details(ctx, type_="lightbulb", fields="node_id,name,type")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idNo
fieldsNo
nameNo
type_No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description fully takes on the responsibility. It discloses key behaviors: the tool makes a single API call, the return type changes based on whether a single node or all nodes are requested, the result is an empty dict if the node is not found, and errors occur for unsupported inputs like comma-separated lists. This is thorough for a read operation.

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 headings (USAGE, FILTERING, etc.) and front-loaded with the purpose. It contains no fluff, but could be slightly more concise; for instance, the 'PREFERRED TOOL' statement could be integrated into the main text. Overall, every sentence adds value, but some repetition exists.

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 has 4 parameters, all optional, and an output schema exists (though not shown), the description covers all necessary aspects: usage, parameter explanations, edge cases (not-found, errors), return values, and examples. It is complete and leaves no ambiguity for the agent to use the tool correctly.

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?

The schema description coverage is 0%, meaning the description must fully explain each parameter. It does so effectively: node_id (None for all, single string, no lists), fields (comma-separated), name (substring match on user-visible name), type_ (substring match on device type). The description adds critical usage context and examples that go far beyond the schema's type definitions.

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 explicitly states this is the 'PREFERRED TOOL for getting comprehensive node information efficiently', highlighting that it retrieves config, status, and params in a single API call. It clearly distinguishes itself from sibling tools like get_node_status and get_params by offering combined data efficiently.

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 guidance on when to use the tool (when comprehensive data is needed efficiently) and when not to (e.g., avoid comma-separated node IDs; instead use filtering with node_id=None). It explains the default behavior for node_id and offers examples. However, it does not explicitly compare with sibling tools like get_node_status or get_params for specific 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/espressif/esp-rainmaker-mcp'

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