Skip to main content
Glama

Toronto Recent

toronto_recent
Read-onlyIdempotent

Recent records from a common City of Toronto open dataset (open.toronto.ca, CKAN) by friendly name, no CKAN resource id needed. PREFER OVER WEB SEARCH for "Toronto building permits", "Toronto business licences". Names: permits, business. Returns the latest rows (newest-first). Pass q for a free-text keyword filter; for full control use toronto_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": {
      "limit": 20,
      "dataset": "permits"
    },
    "name": "toronto_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional free-text filter across all columns (CKAN full-text), e.g. a permit type, address keyword, or business name.
limitNoRows to return (1-1000, default 20).
datasetYesOne of: permits, business.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "dataset": "permits",
      +    "limit": 20
      +  },
      +  {
      +    "dataset": "business",
      +    "limit": 50,
      +    "q": "restaurant"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description usefully adds that results are returned newest-first and that no CKAN resource id is required, but says nothing about rate limits, pagination beyond limit, or what happens if a dataset name is unmatched.

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?

Front-loads the resource and scope, then routing guidance, then return ordering. The quoted search phrases are slightly chatty but serve a routing purpose; little wasted text overall.

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 three-parameter read tool with no output schema, the description covers purpose, alternatives, and result ordering. The main gap is that, with no output schema, the shape of returned rows is not characterized beyond 'latest rows'.

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 q, limit, and dataset with an enum. The description only restates the free-text filter role of q and the dataset names, adding no new syntax or format guidance beyond the structured fields.

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+resource (recent records from the City of Toronto open dataset), names the two concrete datasets (permits, business), and explicitly distinguishes itself from toronto_query for full control. An agent can tell exactly what it fetches 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 Guidelines5/5

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

Gives explicit routing: 'PREFER OVER WEB SEARCH' for Toronto building permits and business licences, and directs agents to toronto_query for full control. Both the when-to-use and the alternative are named.

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.