Skip to main content
Glama

get_bulb_state

Check the smart bulb's current power status, brightness, and color settings.

Instructions

Retrieve the current state (power status, brightness/opacity, color) of the connected smart bulb.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. The verb 'Retrieve' clearly implies a read-only, side-effect-free operation, and it lists the specific state aspects returned. However, it does not explicitly state failure modes (e.g., what happens if no bulb is connected) or any additional behavioral nuances.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, well-structured sentence that front-loads the verb and resource, and enumerates the state fields without any filler. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (no parameters, no output schema), and the description adequately conveys what it returns. However, it could optionally mention that the tool operates on the connected bulb, implying a connection prerequisite, and might briefly note the absence of side effects. Still, for a low-complexity getter this is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline for parameter semantics is 4. The description adds value by clarifying what 'state' means (power, brightness/opacity, color), which gives the agent context about the expected return content even though the schema has no fields to document.

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 uses the specific verb 'Retrieve' and clearly identifies the resource ('current state' of the smart bulb) and the attributes included (power status, brightness/opacity, color). This distinguishes it from sibling set_* tools and from connection tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies it is used when one needs to know the current state of the connected bulb, but it does not explicitly contrast with the set_* tools or mention a prerequisite like being connected. The connection requirement is only inferred from the sibling connect_bulb.

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/PalwinderSinghPaali/smart-bulb-mcp-server'

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