Skip to main content
Glama

Homeowner Pack

Home emergency: first safe steps and who to call

home_emergency
Read-onlyIdempotent

For a home emergency in the UK, returns the right emergency numbers first (gas emergency 0800 111 999, power cuts 105, Floodline 0345 988 1188, 999 for danger to life, with the Northern Ireland numbers), the first safe steps in order, what not to do, what to switch off, whose job the repair is (you, the landlord, the water company or the network operator) and an urgency of emergency, soon or routine. For flood_water with a postcode it adds live Environment Agency flood warnings for the area. Give situation, or a plain description such as "I smell gas". Situations: gas_smell, carbon_monoxide_alarm, water_through_ceiling, burst_pipe, no_power, locked_out, tree_fallen_on_house, flood_water. Relay the numbers and steps exactly. Example: {"situation":"burst_pipe","renting":true}.

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

Input Schema

NameRequiredDescriptionDefault
nationNoDefault Great Britain numbers. Pass northern_ireland for the Northern Ireland numbers.
rentingNoTrue if the home is rented.
postcodeNoFor flooding: checks live flood warnings near the home.
situationNo
descriptionNoWhat is happening, in the homeowner's own words, used when situation is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, destructiveHint=false and openWorldHint, so the safety profile is covered; the description usefully adds that live Environment Agency warnings are fetched for flood_water plus postcode and that GB numbers are the default vs Northern Ireland. It omits latency/failure behavior and what happens with an unrecognised situation, so the added context is real but modest.

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?

The text is front-loaded with the answer content (numbers first, then steps, then ownership, then urgency) which matches how an agent would use it. It loses a little to the explicit situation list that duplicates the schema enum and a slightly run-on single paragraph, but the "relay the numbers and steps exactly" instruction earns its place.

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?

With no output schema, the description carries the burden of describing the return shape and does so (numbers, ordered steps, don'ts, switch-offs, responsibility, urgency, plus live flood warnings). It is nearly complete for a read-only advisory tool; only edge behavior for missing or unmatched input is left unstated.

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?

Schema coverage is already 80%, so the baseline is 3; the description goes further by explaining that nation defaults to GB numbers, that postcode only matters for flooding, that description is the fallback when situation is absent, and it supplies a concrete example call with renting=true.

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 states a specific verb and resource (returns emergency numbers, first safe steps, who owns the repair, and an urgency band for a UK home emergency) and enumerates the eight situations it covers, which is enough to tell it apart from the guide/checker siblings.

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?

It tells the agent how to invoke it ("Give situation, or a plain description such as 'I smell gas'") and gives a conditional rule for when extra data appears ("For flood_water with a postcode it adds live Environment Agency flood warnings"). It does not name any sibling as a better alternative or state when not to use it, so the guidance is strong but not complete.

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.