Skip to main content
Glama

x402_socrata-calgary_get_v1_building_permits

Retrieve Calgary building permit records from data.calgary.ca to filter and review permits for research, reporting, or application integration.

Instructions

socrata-calgary — Calgary open data (data.calgary.ca) curated datasets: On-Street Parking Zones, On-Street Parking Zones with Rates, Building Permits… [GET /v1/building-permits] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/building-permits?limit=2

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_socrata-calgary_get_v1_building_permits"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description does carry useful behavioral facts: the call is a GET, it costs $0.005 USDC, and settlement is available on four named chains. It says nothing about pagination ceilings, what happens on failed paid calls, or the shape/size of results, leaving retry semantics entirely to the schema's restart/operationId fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The endpoint, price and example are front-loaded and compact, which is good. However, the comma-separated catalog of other Calgary datasets ('On-Street Parking Zones, On-Street Parking Zones with Rates, …') is boilerplate that does not describe this tool and consumes the most prominent sentence position.

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 paid, unannotated GET with no output schema, the definition covers endpoint, cost and a sample call but omits result shape, row limits, and how the paid retry model interacts with the restart/operationId parameters. An agent could invoke it, but would be guessing about response size and query capabilities.

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%, with body, query, restart and operationId all documented inline, so the schema already does the heavy lifting. The description adds only a concrete example of a query argument (limit=2); it explains nothing about valid Socrata query parameters, so baseline 3 applies.

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?

It names the provider (socrata-calgary, data.calgary.ca), the resource (Building Permits) and the exact endpoint ([GET /v1/building-permits]), which is enough to tell it apart from the many sibling building-permit tools from other cities. The opening catalog of unrelated Calgary datasets (parking zones) dilutes the signal slightly but does not obscure the purpose.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the Calgary siblings or the ~30 other building-permit tools; the agent must infer from the city/dataset name that this is Calgary-specific. The only usage-adjacent content is the worked example '/v1/building-permits?limit=2', which shows how to call it but not when or why.

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

Deploy Server

Other Tools