Smart Citizen Device with Latest Readings
smartcitizen/device
One Smart Citizen device by its numeric id: name, location, online or offline state, hardware, owner, and every sensor on it with its latest value, previous value, unit and reading time. An unknown id is refused as VALIDATION.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
Sensor data from Smart Citizen (smartcitizen.me), the community air and environment sensing platform of Fab Lab Barcelona at IAAC; it states no data licence and no attribution rule, so the source is credited as a courtesy. Responses are passed through unmodified. Served by Eden Engine; not an official Smart Citizen product.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "smartcitizen/device" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "smartcitizen/device" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "smartcitizen/device", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "smartcitizen/device", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"device_id"
],
"properties": {
"device_id": {
"type": "integer",
"maximum": 99999999,
"minimum": 1,
"description": "The device id, for example 19798. Find ids with the nearby devices tool."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"id",
"name",
"location"
],
"properties": {
"id": {
"type": "integer"
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"sensors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"value": {
"type": [
"number",
"null"
],
"description": "The latest reading, in `unit`."
},
"prev_value": {
"type": [
"number",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"measurement": {
"type": [
"object",
"null"
]
},
"last_reading_at": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"name": {
"type": "string"
},
"owner": {
"type": [
"object",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"hardware": {
"type": [
"object",
"null"
]
},
"location": {
"type": "object",
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"exposure": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": [
"number",
"null"
]
},
"longitude": {
"type": [
"number",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"description": {
"type": [
"string",
"null"
]
},
"system_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Includes online or offline and indoor or outdoor."
},
"last_reading_at": {
"type": [
"string",
"null"
],
"description": "ISO 8601 UTC; null if the device never reported."
}
},
"additionalProperties": true
}