Skip to main content
Glama

sensor_read

Retrieve the smoothed value, last raw observation, and last update time from a virtual sensor such as stress or room intensity.

Instructions

Read a virtual sensor (e.g. "stress", "room_intensity"): smoothed value, last raw observation, last update time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNostress
Behavior3/5

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

No annotations are provided, so the description carries the burden. It describes the return data (smoothed, raw, time) but does not explicitly state the operation is read-only or disclose any side effects.

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?

The description is a single concise sentence that immediately conveys the tool's purpose and return values, with no redundant content.

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?

For a simple tool with one parameter and no output schema, the description is largely complete. It defines the operation and return fields. Lacks explicit mention of default behavior or read-only nature.

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?

With 0% schema description coverage, the description compensates by providing example sensor names ('stress', 'room_intensity'), but does not explain the parameter meaning or allowed values beyond examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool reads a virtual sensor and lists the return values (smoothed value, raw observation, update time), with examples. It does not explicitly differentiate from sibling sensor_report, but the verb 'read' implies retrieval.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like sensor_report or state_get. No exclusions or context provided.

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/NG-Bullseye/user-db'

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