Skip to main content
Glama

x402_socrata-nystate_get_v1_power_generation

Query New York State power generation records from data.ny.gov to filter by year and analyze electricity output for reporting or research.

Instructions

socrata-nystate — New York State Open Data (data.ny.gov) curated datasets: unemployment, power generation, solar projects, campaign finance [GET /v1/power-generation] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/power-generation?limit=2&where=year%3D'2023'

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-nystate_get_v1_power_generation"
  }
}

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 disclosure burden. It does add genuinely useful behavior no structured field provides: this is a paid call at $0.005 USDC on eip155:8453/137/42161/480. It says nothing, however, about the payment flow itself, pagination/default row limits, or failure behavior, even though the schema exposes restart and operationId parameters that imply retry/dedup semantics.

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 sentence pair: dataset family, endpoint, price, and a runnable example, all front-loaded with no filler. The enumerated dataset list is slightly noisy but serves as a disambiguator against sibling tools.

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 read-only dataset query tool with no output schema, the definition should say what comes back (rows/SoQL result shape), default and maximum limit, and any auth/wallet requirement. It covers endpoint, cost, and a filter example but leaves the response format and pagination unstated.

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 the baseline is 3. The description does supplement this with a concrete SoQL query example (limit and where with URL-encoded equals and quoted year), which is real added meaning beyond the schema. However, the schema's own query description uses an unrelated {base:'USD', quote:'EUR'} example that could actively mislead an agent about valid query keys.

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?

The description names the provider (socrata-nystate / data.ny.gov), the resource family (curated datasets such as unemployment, power generation, solar projects, campaign finance) and the exact endpoint GET /v1/power-generation, so the agent can map it to the right sibling by dataset name. It stops short of explicitly stating what the tool is not, but the named dataset makes the discrimination workable.

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?

Usage is conveyed only by implication: an example path of /v1/power-generation?limit=2&where=year%3D'2023' shows how to filter by year. There is no explicit statement of when to prefer this over x402_energy-charts_get_v1_public_power or the other nystate datasets, and no note on prerequisites or limits.

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