Skip to main content
Glama

AppealGo

Calculate PCN and parking charge deadlines

calculate_deadlines
Read-onlyIdempotent

Given the notice type and the date on the notice, returns the discount deadline, the challenge/representations deadline, when escalation can start, and (if you pass a rejection date) the tribunal or POPLA/IAS deadline. Statutory defaults; the notice is authoritative.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_dateNoyyyy-mm-dd, the parking date if different (private ANPR/windscreen)
notice_dateYesyyyy-mm-dd, the date on the notice
notice_typeYescouncil_parking = Council parking PCN (windscreen or handed to you); council_postal = Council PCN by post (CCTV parking, bus lane or moving traffic outside London); london_moving = London bus lane, yellow box or banned turn (borough or TfL red route); tfl_charge = ULEZ, LEZ or Congestion Charge PCN (TfL); clean_air_zone = Clean Air Zone PCN (Birmingham, Bristol, Bath, Bradford, Portsmouth, Sheffield, Tyneside); private_anpr = Private parking charge by post (ANPR camera); private_windscreen = Private parking charge left on the windscreen
rejection_dateNoyyyy-mm-dd on the Notice of Rejection, if you have one
notice_to_owner_dateNo

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 read-only/idempotent behavior. The description adds useful context beyond that: it clarifies that results are 'statutory defaults' and that 'the notice is authoritative', which tells the agent when the computed value may be overridden. No contradiction with annotations.

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?

Two sentences with no filler: the first front-loads the inputs and enumerates the returned deadlines, the second adds the authoritative caveat. Every clause 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 compensates by enumerating the returned deadline values and the conditional tribunal/POPLA/IAS deadline. It leaves the optional event_date and notice_to_owner_date parameters unexplained, but those are not needed for the core call.

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 80%, so the baseline is 3; the description reinforces the role of notice_type, notice_date, and rejection_date but adds no new meaning for event_date or notice_to_owner_date. The enum descriptions in the schema already carry most of the semantic load.

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 uses a specific verb ('returns') and names the resource (deadlines) plus the exact outputs: discount deadline, challenge/representations deadline, escalation start, and tribunal/POPLA/IAS deadline with a rejection date. This distinguishes it clearly from siblings like check_notice or file_appeal, which address different actions.

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 explicitly states the input condition ('Given the notice type and the date on the notice') and the optional rejection-date branch, making it clear when to call it. It does not name alternative tools or exclusion cases, so it stops short of a 5.

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