Skip to main content
Glama

Pest Control Pack

Treatment plan: visits, prep and re-entry

treatment_plan
Read-onlyIdempotent

A visit by visit plan for one pest problem: what happens at each visit and on which day (from start_date if given), hours, what the customer must do before the first visit, the re-entry time, method notes and the law (rodenticide code, glue traps, wildlife), food business and flats notes, and proofing aftercare. Treatments: rats_internal (3 visits), rats_external (3 visits), mice (3 visits), wasp_nest (1 visit), hornet_nest (1 visit), bed_bugs_spray (2 visits), bed_bugs_heat (1 visit), cockroaches (3 visits), fleas (2 visits), ants (1 visit), clothes_moths (2 visits), squirrels (3 visits), moles (2 visits), pigeons_deterrence (1 visit), survey_only (1 visit). Example: {"treatment":"rats_internal","premises":"food_business","start_date":"2026-12-01"}.

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": {
      "treatment": "<treatment>"
    },
    "name": "treatment_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
tradeNoOptional. The pest controller's own business details (Nero Trade Profile v1). Used to prefill quotes and checks and to give a stable nero_trade_ref. Not stored by Pest Control Pack.
nationNoDefault england.
premisesNoDefault house.
quantityNoRooms for bed bugs, fleas and moths; nests for wasps and hornets; otherwise 1.
treatmentYes
start_dateNoYYYY-MM-DD of the first visit, to date the follow ups.
children_or_petsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. Beyond that, the description discloses what the response is composed of (per-visit schedule keyed off start_date, prep instructions, re-entry time, legal references), which is meaningful behavioral context given there is no output schema. It does not say whether the plan is a template or tailored, or how hour figures are derived.

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 core purpose is front-loaded in the first clause before the long treatment inventory. The treatment list is long but each entry carries the visit count, which is decision-relevant rather than filler; only minor compacting is possible.

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

Completeness5/5

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

With no output schema and a nested optional trade object, the description steps up by describing every section the plan returns and by giving a concrete example call. The remaining gaps (how hours are computed, tailoring) are minor for a read-only planning tool whose annotations already cover safety.

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 71%, so most parameters are self-documented, but the description adds real meaning the schema lacks: visit counts per treatment (3 for rats_internal, 1 for wasp_nest, etc.), and that start_date anchors and dates the follow-up visits. Premises and legal context (rodenticide code, glue traps, wildlife, food business and flats notes) are also explained. Quantity semantics (rooms vs nests) are left entirely to the schema.

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?

Names a specific resource (a visit-by-visit treatment plan for one pest problem) and enumerates exactly what the output contains: visit schedule and days, hours, customer preparation, re-entry time, method notes, legal notes, premises notes and proofing aftercare. The enumeration of 15 treatment types with visit counts makes the scope concrete and clearly separates it from a pricing/quote tool.

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 through the treatment enum and a worked example with treatment/premises/start_date, which shows how to call it. However, it never states when to choose this over siblings like quote_pest_treatment or pest_method_check, nor any exclusions or prerequisites, leaving the agent to infer the boundary.

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.