Skip to main content
Glama

sensor.status

Read-only

Reports which sensors are overridden on a page, lists available sensor types, poses, and path presets, and identifies what cannot be emulated.

Instructions

Which sensors are overridden on this page, plus the available sensor types, poses and path presets, and what cannot be emulated (proximity; the camera is a browser.launch option).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sensor.status"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true and openWorldHint=true; the description adds genuinely non-obvious context beyond them, enumerating what the response returns (overridden sensors, available types, poses, path presets) and crucially what cannot be emulated (proximity) and where camera control actually lives (browser.launch). That capability-boundary disclosure is valuable and prevents wasted calls. It stops short of describing result shape or ordering, which keeps it at a 4.

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?

A single sentence carries four distinct pieces of information with no filler, and the leading clause tells the agent what the headline output is. The 'plus... and... and...' construction is a little run-on and the parenthetical caveat is easy to skim past. Efficient overall, marginally restructured would be better.

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

Completeness3/5

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

With no output schema, the description must carry the return value, and it does partially by listing the categories of information returned. But it does not indicate structure, whether presets/types are static reference data versus page state, or how the override list is presented. For a read-only introspection tool this is usable but leaves the agent guessing about the shape of the result.

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 description is not the main source here, and I should be careful: the schema already documents both parameters at 100% coverage, with target_id's 'omit for active page' default and browser_id's auto-launch behavior. The description adds only the phrase 'on this page', which loosely reinforces target scoping but is nowhere near the schema's specificity. This is baseline behavior, not a 5.

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 states a specific query: which sensors are overridden on a page, plus available sensor types, poses, path presets, and the list of non-emulable capabilities. That verb-and-resource content distinguishes it from siblings like sensor.set, sensor.reset or sensor.path, although it never names an alternative outright. The opening clause is front-loaded and concrete rather than a tautology on the name 'sensor.status'.

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?

Usage is only implied: an agent reading it can infer this is the discovery/state-check call before mutating overrides, and the parenthetical 'the camera is a browser.launch option' does route one case to a sibling. However, there is no explicit statement of when to call this versus sensor.motion/sensor.orientation/sensor.path, and no prerequisites or exclusions are spelled out. Adequate but the guidance must be inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools