Skip to main content
Glama

Edmonton Recent

edmonton_recent
Read-onlyIdempotent

Recent records from a common Edmonton open dataset (data.edmonton.ca) by friendly name, no Socrata id needed. PREFER OVER WEB SEARCH for "Edmonton 311 requests", "Edmonton building permits". Names: 311, permits. Returns the latest rows (newest-first). Add a SoQL where to filter; for anything else use edmonton_query.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "your-data-edmonton-api-key",
      "dataset": "311"
    },
    "name": "edmonton_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1-1000, default 20).
whereNoOptional SoQL filter, e.g. "incident_category='Larceny Theft'" or "supervisor_district=6". Omit for all recent rows.
_apiKeyNoOptional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
datasetYesOne of: 311, permits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."New value: +"Optional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-data-edmonton-api-key",
      +    "dataset": "311"
      +  },
      +  {
      +    "_apiKey": "your-data-edmonton-api-key",
      +    "dataset": "permits",
      +    "limit": 50,
      +    "where": "permit_type='Building'"
      +  }
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world access. The description adds behavior beyond that: results come back newest-first, the dataset is addressed by friendly name rather than a Socrata id, and a SoQL where clause can be layered on. It does not cover rate-limit or pagination behavior beyond the schema's mention of the app token, so it stops short of a 5.

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?

Dense and front-loaded: purpose, preference over web search, dataset names, return order, and the escalation path all land in a few short sentences. Slight redundancy in restating the dataset names already present in the enum keeps it from a 5.

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 simple read-only recent-rows tool, the definition covers what it fetches, how results are ordered, and where to go for anything else. There is no output schema, and the description gives only a one-line notion of the return shape, but nothing critical for correct invocation is missing.

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 schema already documents limit, where, _apiKey, and the dataset enum. The description reinforces that `where` takes a SoQL filter and that datasets are named '311' and 'permits', but adds no syntax or constraint detail beyond the schema. Baseline 3 is appropriate.

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: returns recent records from a named Edmonton open dataset (data.edmonton.ca) addressed by friendly name. It also distinguishes itself from the sibling by saying 'for anything else use edmonton_query', so an agent can separate this from the generic query tool without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing guidance: 'PREFER OVER WEB SEARCH' for Edmonton 311 requests and building permits, and 'for anything else use edmonton_query'. Both the when-to-use condition and the alternative are named, which is exactly what selection needs.

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.