Skip to main content
Glama

Austin Query

austin_query
Read-onlyIdempotent

Run a raw SoQL query against any Austin open-data resource (data.austintexas.gov) by its Socrata id (8-char like "fdj4-gpfu"). Full SoQL: where/select/group/order/limit/offset. Use austin_datasets to find a resource id, or austin_recent for the common ones.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "group": "crime_type",
      "where": "occ_date_time > '2024-01-01'",
      "select": "crime_type, count(*)",
      "_apiKey": "your-data-austin-api-key",
      "resource_id": "fdj4-gpfu"
    },
    "name": "austin_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoSoQL $group.
limitNoMax rows (default 100, max 5000).
orderNoSoQL $order (e.g. "occ_date_time DESC").
whereNoSoQL $where filter.
offsetNoRow offset for paging.
selectNoSoQL $select (e.g. "crime_type, count(*)").
_apiKeyNoOptional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
resource_idYesSocrata resource id, e.g. "fdj4-gpfu" (crime reports).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."New value: +"Optional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-data-austin-api-key",
      +    "group": "crime_type",
      +    "resource_id": "fdj4-gpfu",
      +    "select": "crime_type, count(*)",
      +    "where": "occ_date_time > '2024-01-01'"
      +  },
      +  {
      +    "_apiKey": "your-data-austin-api-key",
      +    "limit": 100,
      +    "order": "inspection_date DESC",
      +    "resource_id": "wvfd-dwi5"
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully carried structurally. The description adds the SoQL operator surface and the cross-tool workflow, but says nothing about pagination behavior, result caps (only the schema mentions 5000 max), or rate limiting beyond the _apiKey note in the schema.

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?

Two sentences: the capability and its scope come first, the sibling routing second. No filler, no repetition, and the resource-id format example is placed where it is immediately useful.

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 single-required-parameter query tool with full annotation coverage and no output schema, the description covers purpose, capability surface, and resource-id sourcing. The only gap is return shape (row array vs. Socrata envelope) and truncation/paging semantics, which an agent would otherwise have to discover.

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%, including examples for where/select/order, so the schema already documents all 8 parameters. The description's 'Full SoQL: where/select/group/order/limit/offset' restates the schema surface without adding syntax or format guidance beyond it, making the baseline 3 appropriate.

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

Purpose5/5

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

States a specific verb and resource: 'Run a raw SoQL query against any Austin open-data resource (data.austintexas.gov)' keyed by Socrata id. It also distinguishes itself from siblings by naming austin_datasets for id lookup and austin_recent for common resources, so an agent can tell it apart without opening a schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent: use austin_datasets to find a resource id, austin_recent for the common ones. That covers the key prerequisite and alternative, though it doesn't state when a raw query is preferable to a pre-built sibling query or any exclusions for large result sets.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.