Skip to main content
Glama

Nola Query

nola_query
Read-onlyIdempotent

Run a raw SoQL query against any New Orleans open-data resource (data.nola.gov) by its Socrata id (8-char like "4xwx-sfte"). Full SoQL: where/select/group/order/limit/offset. Use nola_datasets to find a resource id, or nola_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": {
      "limit": 100,
      "where": "district = '6'",
      "_apiKey": "your-data-nola-api-key",
      "resource_id": "4xwx-sfte"
    },
    "name": "nola_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoSoQL $group.
limitNoMax rows (default 100, max 5000).
orderNoSoQL $order.
whereNoSoQL $where filter.
offsetNoRow offset for paging.
selectNoSoQL $select.
_apiKeyNoOptional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
resource_idYesSocrata resource id, e.g. "4xwx-sfte".

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-nola-api-key",
      +    "limit": 100,
      +    "resource_id": "4xwx-sfte",
      +    "where": "district = '6'"
      +  },
      +  {
      +    "_apiKey": "your-data-nola-api-key",
      +    "group": "zip_code",
      +    "limit": 20,
      +    "order": "count DESC",
      +    "resource_id": "8g4p-7q6v",
      +    "select": "zip_code, count(*) as count"
      +  }
      +]
  3. First observed

TDQS

A4.1/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 covered. The description adds the endpoint domain and the id format, which is useful context, but says nothing about result caps, pagination behavior beyond the limit param, or error handling for malformed SoQL. With annotations doing the heavy lifting, this is adequate but not rich.

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?

Three compact sentences with the core action front-loaded and the sibling routing placed last, which is the right order. Nothing is padded, though the clause enumeration overlaps with what the schema already labels.

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 read-only SoQL passthrough with full schema coverage and rich annotations, the description covers action, endpoint, id format, and sibling routing. The one gap is that no output schema exists and the description never indicates what a response looks like (row array, pagination/truncation signals), which would matter for a query tool returning up to 5000 rows.

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 every parameter is already documented including the default limit of 100 and max of 5000. The description only enumerates the SoQL clauses (where/select/group/order/limit/offset), which restates parameter names rather than adding syntax or semantics, so the baseline 3 applies.

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?

Names a specific verb and resource ('Run a raw SoQL query against any New Orleans open-data resource') and pins the target domain (data.nola.gov) plus the required Socrata id format. It also distinguishes itself from nola_datasets (id lookup) and nola_recent (predefined common resources), so an agent can identify it 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 Guidelines5/5

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

Gives explicit routing: use nola_datasets to find a resource id, or nola_recent for the common ones. The condition that selects the alternative is stated rather than left to inference, and the raw-query purpose is unambiguous.

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.