Skip to main content
Glama

Staffa UK Business & Emergency Trade Network

dispatch_emergency_callout

Dispatches an emergency ticket directly to the duty engineer's mobile terminal via structured SMS and records the ticket in Staffa SSOT.

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": {
      "client_id": "<client_id>",
      "caller_name": "<caller_name>",
      "caller_phone": "<caller_phone>",
      "address": "<address>",
      "issue_description": "<issue_description>"
    },
    "name": "dispatch_emergency_callout"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesFull street address of the emergency
client_idYesStaffa client contractor ID
caller_nameYesCustomer/caller full name
caller_phoneYesCustomer callback telephone number
issue_descriptionYesDetailed description of symptoms (e.g. 'combi boiler leak dumping water in kitchen')
stopcock_isolatedNoWhether customer has isolated the water mains / stopcock

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, the description carries the full burden, and it does disclose two real side effects: an SMS is pushed to the duty engineer and a record is written to Staffa SSOT. However it omits that the SMS is effectively irreversible once sent, what happens if no duty engineer is on call, and whether failures leave a partial record.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with the action, channel, and persistence outcome front-loaded and zero filler. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, five-required mutation tool with no annotations and no output schema, the description explains the action and side effects but says nothing about what comes back (e.g. a ticket reference), error/failure behavior, or the operational preconditions. Adequate but with clear gaps.

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 every parameter including stopcock_isolated is already documented in the schema; baseline applies. The description adds no extra meaning about how required identifiers like client_id or address feed the dispatch or record.

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 uses a specific verb and resource ('Dispatches an emergency ticket') and even names the delivery mechanism (structured SMS to the duty engineer's mobile terminal) plus the persistence side effect (records the ticket in Staffa SSOT). It is clearly not a generic job dispatch, distinguishing it in spirit from dispatch_universal_job, though it never names that sibling explicitly.

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 only implied by the repeated word 'emergency'; the agent can infer this is for urgent callouts. There is no explicit when-to-use vs when-not guidance, no mention of prerequisites such as a valid on-call duty engineer, and no pointer to dispatch_universal_job for non-emergency jobs.

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