Skip to content
Eden Engine

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.

activeper callv1

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.

Data source

Smart Citizen

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

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 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 do

Not 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.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "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
output_schema.json
{
  "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
}