Skip to main content
Glama

get_all_devices

Retrieve every air quality sensor with current AQI and coordinates, plus the city-wide average AQI, to assess Yerevan pollution.

Instructions

All air quality sensors with current AQI and coordinates. Returns city-wide average AQI.

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": "get_all_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax devices to return
onlyWorkingNoFilter to operational devices only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the return contents (sensors with AQI and coordinates plus a city-wide average). It omits whether the average is computed over all sensors or only the returned page, whether results are ordered, and what the default 50-item cap does to the average, which are material for interpreting the output.

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?

Two short sentences, front-loaded with the resource and return payload; nothing is padded. The only weakness is that the second sentence introduces ambiguity rather than resolving it, so it does not fully earn its place.

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?

For a two-parameter read tool with no output schema and no annotations, the description covers the core return shape but leaves ordering, truncation semantics, and the relationship between the device list and the aggregate average unexplained. Adequate, but the aggregate claim needs clarification to be safely used.

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?

Schema description coverage is 100%, so limit and onlyWorking are already documented with defaults and bounds in the schema. The description adds no meaning beyond that baseline and does not explain, for example, whether onlyWorking changes the reported city-wide average.

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

Purpose3/5

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

The description names the resource (air quality sensors) and the payload (current AQI, coordinates), so the agent knows roughly what comes back. However, the second sentence, "Returns city-wide average AQI," overlaps directly with the sibling get_city_average and never states the scope distinction, so the tool's unique purpose is blurred rather than sharpened.

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?

There is no guidance on when to choose this over get_city_average, get_devices_by_aqi, or get_nearest_sensor, and no exclusions or prerequisites are given. The one cue present (the city-wide average) points toward a sibling instead of away from it, leaving selection to inference.

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