Skip to main content
Glama

portalsplus__somerville_datasets

Search datasets on the City of Somerville open data portal by keyword, e.g. query "police": dataset titles, descriptions and links to the dataset pages. Published under the portal's open data terms — check each dataset page for its licence. Source: NS Pros Data API portal handler (Socrata). License: Open data portal — U.S. public data under the jurisdiction's open data terms; per-dataset licences apply, reuse with attribution.

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": {
      "query": "<query>"
    },
    "name": "portalsplus__somerville_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It does add real behavioral value by naming the return contents (dataset titles, descriptions, and links to dataset pages) and the licensing/attribution obligations. It omits ranking/relevance behavior, whether search is full-text vs title-only, pagination beyond the limit parameter, and error handling.

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 opening sentence is well front-loaded and earns its place, but the trailing licence/attribution and data-source boilerplate runs longer than the operational content and repeats the portal-terms point twice. Roughly half the text is legal/citation padding an agent does not need to select or invoke the tool.

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?

For a two-parameter read-only search with no output schema, the description covers what it searches, what it returns, and the licensing caveat. Only minor gaps remain (relevance/ranking, result ordering, and what an empty result looks like), which is reasonable for this complexity level.

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 schema already documents both `query` and `limit` (including the 1-20 range and default of 5). The description reinforces that query is a keyword and gives one example, but adds no syntax details such as boolean operators, field targeting, or empty-string behavior.

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?

States a specific verb and resource ("Search datasets on the City of Somerville open data portal by keyword") plus an inline example query "police". The jurisdiction name is the differentiating factor against the many sibling portal tools, so an agent can route by geography without opening the schema.

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 implied by the keyword-search framing and the "police" example, but there is no explicit when-to-use / when-not guidance, no statement that other cities require their own sibling tool, and no mention of what to do when a keyword returns nothing. Adequate but inference-dependent.

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.