Skip to main content
Glama

Garden Pack

UK garden law check: birds, trees, weedkiller, waste, planning

garden_rules_check
Read-onlyIdempotent

Before a garden job, returns a verdict (allowed, allowed_with_conditions, permission_needed, not_allowed or check_first) for that topic and nation, with the conditions and the law: nesting birds and farm hedgerow cutting dates, Tree Preservation Orders and conservation area notice (trunks over 75 mm), high hedges complaints, the pesticide certificate for weedkiller, Japanese knotweed, waste carrier registration, bonfires, and planning limits for fences (2 m, 1 m by a road), front garden paving (5 m2 unless permeable) and decking (30 cm). Topics: hedge_cutting_nesting_birds, tree_work_protected, high_hedges, pesticides_weedkiller, japanese_knotweed, garden_waste_carrying, bonfires_burning, fences_planning, front_garden_paving, decking_planning, work_at_height_hedges. Not legal advice. Example: {"topic":"tree_work_protected","conservation_area":true,"trunk_diameter_mm":150}.

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": {
      "topic": "<topic>"
    },
    "name": "garden_rules_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
flatNoDecking at a flat or maisonette.
monthNoHedge cutting: month of the work, 1 to 12.
topicYes
tradeNoOptional. The gardener or landscaper'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 Garden Pack.
nationNoDefault england.
area_m2NoFront garden hard surface area.
height_mNoFence, wall, gate or decking height.
permeableNoPorous surface, or drains to a lawn or border.
farm_hedgerowNoHedge cutting: a hedgerow on farmland.
listed_buildingNo
next_to_highwayNoFence next to a road used by vehicles or its footpath.
conservation_areaNo
trunk_diameter_mmNoMeasured 1.5 m above the ground.
tree_preservation_orderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds real value beyond them: the exact set of verdict values returned, the fact that conditions and the governing law are included in the response, the "Not legal advice" caveat, and concrete legal thresholds used in the checks.

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-loaded with purpose and the return contract, then supporting detail; every sentence carries information. The one cost is the inline list of all eleven topic names, which restates the topic enum in the schema verbatim, but it is compact enough not to bloat the definition.

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 14-parameter tool with a nested object and no output schema, the description compensates well: it explains the return shape (verdict + conditions + law), covers the topic dimension fully, and flags the legal-advice disclaimer. The trade object is left entirely to the schema, which is reasonable given its thorough per-field descriptions, though a one-line note on why business details matter would close the gap.

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% and the nested trade object is already well documented, so the baseline is met without effort. The description goes further by tying parameters to legal tests — trunk diameter at 75 mm, fence height 2 m / 1 m by a road, paving 5 m2 unless permeable, decking 30 cm — and gives a concrete invocation example showing how topic and conditional flags combine.

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 and resource — returns a verdict (with all five outcome values enumerated) for a garden-law topic and nation — and lists the eleven topics covered. An agent can distinguish this from the pricing/material siblings (garden_job_quote, landscape_materials, trade_profile) from the description alone.

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?

"Before a garden job" gives a clear trigger context, and the enumerated topics make the scope concrete. It does not name an alternative or state exclusions (e.g. that it does not price the job — that is garden_job_quote's role), so the routing signal is contextual rather than explicit.

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.