Skip to main content
Glama

x402_socrata-chicago_get_v1_contracts

Fetch Chicago Data Portal contract records via /v1/contracts to support procurement research and vendor analysis with structured JSON results.

Instructions

socrata-chicago — Chicago Data Portal (data.cityofchicago.org) curated datasets: crimes, 311 requests, food inspections, contracts [GET /v1/contracts] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/contracts?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-chicago_get_v1_contracts"
  }
}

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.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose genuinely useful behavior: it is a paid GET costing $0.005 USDC on four named chains (eip155:8453, 137, 42161, 480). It says nothing about error behavior, rate limits, or how failures interact with the restart/operationId retry semantics, so significant gaps remain.

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?

A single dense line that is front-loaded with source, dataset, then endpoint, then pricing, then an example. The dataset enumeration in the preamble is shared boilerplate rather than tool-specific information, which is minor waste, but nothing is rambling or unearned.

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 data API with no output schema and no annotations, the definition is adequate but thin: it never indicates what a contract record contains, how results are paginated by default, or how far limit can go. The parameter layer is fully covered by the schema, so the gap is in return-value and pagination expectations.

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 the four parameters (body, query, restart, operationId) are already documented, establishing a baseline of 3. The description adds only one concrete usage detail, the ?limit=2 example, which marginally illustrates the query parameter without adding format or pagination meaning.

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 the source (Chicago Data Portal), the resource (contracts) and the exact route [GET /v1/contracts], which distinguishes it from siblings like get_v1_crimes and get_v1_311. The actual purpose is somewhat obscured by the boilerplate list of all curated datasets in the same sentence, but the endpoint token resolves it.

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?

There is no explicit when-to-use or when-not guidance, but the endpoint path and the shared dataset preamble implicitly route the agent: contracts data goes here, crimes elsewhere. No alternatives or exclusions are named, so it stops short of real guidance.

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