Skip to main content
Glama

Query

query
Read-onlyIdempotent

Run a Socrata SoQL query against a Michigan Open Data dataset by resource_id (e.g. "fbey-tu9a"). Filter with where/select/group/order (SoQL clauses, without the leading $) plus limit/offset. Returns matching rows as JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNoSoQL $group column(s).
limitNoMax rows (default Socrata 1000).
orderNoSoQL $order, e.g. "date DESC".
whereNoSoQL $where filter, e.g. "year >= 2020 AND status = 'Active'".
offsetNoPagination offset.
selectNoSoQL $select, e.g. "name, count(*) AS n".
resource_idYesDataset id, e.g. "fbey-tu9a" (from datasets).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "resource_id": "fbey-tu9a",
      +    "where": "year >= 2020"
      +  },
      +  {
      +    "group": "category",
      +    "limit": 100,
      +    "order": "n DESC",
      +    "resource_id": "fbey-tu9a",
      +    "select": "name, count(*) AS n"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The description notes that the query returns 'matching rows as JSON', adding some behavioral detail beyond the annotations (readOnlyHint=true, destructiveHint=false). However, it does not disclose additional traits such as rate limits, pagination default (1000), or behavior with missing resource_id. Given that annotations already cover safety, this is adequate but minimal extra value.

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

Conciseness5/5

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

The description is extremely concise: two sentences. The first sentence states the action and key identifier, the second lists the parameters. No wasted words; all information is front-loaded.

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?

Given the tool's complexity (7 parameters, no output schema), the description covers the essential aspects: the query language, parameters, and return format (JSON). It doesn't describe errors or edge cases, but for a read-only query tool with clear schema descriptions, this is sufficient to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, baseline is 3. The description adds value by explaining that SoQL clauses should not include the leading $, combining with limit/offset, and providing examples. This goes beyond the schema descriptions.

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?

The description clearly states the tool's purpose: running a Socrata SoQL query against a Michigan Open Data dataset by resource_id. It specifies the verb 'Run', the resource 'Socrata SoQL query', and the scope 'against a Michigan Open Data dataset by resource_id', distinguishing it from unrelated sibling tools like 'datasets' or 'ask_pipeworx'.

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

Usage Guidelines4/5

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

The description provides clear context for usage by listing acceptable parameters (where/select/group/order/limit/offset) and noting the SoQL syntax without leading $. While it does not explicitly state when not to use this tool or name alternatives, the context is sufficient for the intended use case of querying a specific dataset.

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.

TDQS

A3.8/5.0
Disambiguation2/5

There are multiple severe overlap clusters. ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all route to the same 5,578 tools, and ask_pipeworx_beta explicitly states it 'currently matches ask_pipeworx exactly' — a direct ambiguity. The six polymarket_* tools plus bet_research form another dense, hard-to-distinguish cluster, and entity_profile/recent_changes/compare_entities/resolve_entity all have overlapping entity-investigation purposes. The long descriptions help but an agent would frequently misselect.

Naming Consistency3/5

The dominant families are internally consistent (polymarket_* prefix, ask_pipeworx_* suffix family, and the verb-based remember/recall/forget), which aids navigation. However, the overall set mixes several conventions: single-word nouns (query, datasets, metadata, recall), verb_noun compounds (validate_claim, generate_llms_txt), and domain_noun names (entity_profile, polymarket_edges). Readable, but there is no unified pattern across the server.

Tool Count2/5

34 tools is clearly over the 25-threshold for heaviness, and several earn little distinct value: ask_pipeworx_beta is a live duplicate of ask_pipeworx, the five-algorithm Polymarket family could be consolidated, and meta/utility tools (suggest_questions, discover_tools, pipeworx_trending, generate_llms_txt, scan_dependency) feel bolted on rather than essential. The breadth of the data domain justifies some size, but the redundancy and tangents push it into bloat.

Completeness3/5

Within its core sub-domains the surface is fairly complete: company research has resolve→profile/compare→recent_changes→validate_claim as a full lifecycle, subscriptions have subscribe/unsubscribe/list/recent_alerts, and memory has remember/recall/forget. The Polymarket workflow is especially thorough (detect→verify→fill-risk→track-decay). However, the server's stated identity ('Data Michigan') is barely served — the Michigan Open Data surface is only search/schema/query with no update or write path — and the scatter of unrelated tools (npm dependency scan, llms.txt generation) makes the overall purpose incoherent, so gaps are hard to evaluate.