Skip to main content
Glama

City of Seattle Building Permits & Civic Compliance MCP

Query Seattle Socrata resource

query_seattle_socrata_resource
Read-onlyIdempotent

Run a read-only Socrata query against any public City of Seattle 4x4 resource ID with optional full-text search, $where, and $order clauses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource_id": "<resource_id>"
    },
    "name": "query_seattle_socrata_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (default 10).
orderNoOptional SoQL $order clause.
queryNoOptional $q full-text search string.
whereNoOptional SoQL $where filter expression.
offsetNoPagination offset (default 0).
resource_idYesSeattle Open Data 4x4 Socrata resource ID (e.g. "76t5-zqzr", "ht3q-kdvx").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 'read-only' largely restates structured data. The description does add that the clauses are optional and that the endpoint is open-world (any public resource), but it omits the 25-row cap, pagination behavior, and any rate-limit or failure-mode context.

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?

One front-loaded sentence with no filler; the core purpose and the optional clause set arrive immediately. It is arguably too short rather than too long, so conciseness is not the problem.

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 generic query passthrough with rich annotations and a fully described schema, this is adequate. However, with no output schema the description gives no hint of the returned row shape or how limit/offset interact, leaving the agent to infer pagination and result size.

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 coverage is 100%, so every parameter is already documented, including defaults and the 25 max for limit. The description echoes the $q/$where/$order clauses without adding syntax, format, or interaction detail, so it sits at the baseline for a fully documented schema.

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

Purpose4/5

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

States a specific verb and resource: a read-only Socrata query against a City of Seattle 4x4 resource ID. It is clearly the generic passthrough versus the dataset-specific siblings (building permits, land use permits), though it never names those siblings to sharpen the contrast.

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

Usage Guidelines3/5

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

The phrase 'any public City of Seattle 4x4 resource ID' implies this is the fallback when the named-dataset tools do not apply, but usage is only implied. There is no explicit when-to-use/when-not, no guidance on picking this over query_seattle_building_permits, and no statement of prerequisites.

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.