Skip to main content
Glama

Ontario Certification Registry

get_safety_stats

Ontario workplace fatality and critical injury counts by sector (construction, industrial, mining), 2015 to 2024, from the Ministry of Labour. Sector level only: Ontario does not publish injury data by the injured worker's trade.

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": "get_safety_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoA single calendar year 2015-2024. Default: all years
sectorNoconstruction, industrial, mining, or all. Default all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it partially meets it by disclosing the data source, the 2015–2024 coverage, and the hard granularity limit at sector level. It does not state that this is a read-only lookup, whether counts are annual or aggregated, or how missing/zero values appear.

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?

Two tight sentences, front-loaded with the resource and coverage period, followed by the most important constraint. No filler, though the second sentence could be trimmed slightly.

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 two-parameter read tool with no output schema, the description supplies the source, time range, and the one limitation an agent is likely to trip over (no trade-level breakdown). Only the shape of the returned counts is left implicit.

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 both parameters are already documented, setting the baseline at 3. The description slightly reinforces the year range and the sector vocabulary (construction, industrial, mining) but adds no format or default behavior beyond the schema.

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 a specific verb and resource: fatality and critical injury counts by sector, with a source (Ministry of Labour) and coverage window (2015–2024). An agent knows exactly what data this returns; it doesn't explicitly contrast with siblings, but the sibling names cover training/certification topics that are plainly unrelated.

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 rather than stated: the year and sector filters signal how to narrow the query, and 'Sector level only: Ontario does not publish injury data by the injured worker's trade' usefully rules out a trade-level request. There is no explicit statement of when to prefer this over another tool or what to do if the user asks for non-Ontario or trade-level data.

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.

Resources