Skip to main content
Glama

List building permit alert runs

get_permit_alert_deliveries
Read-onlyIdempotent

Past runs of a building permit alert that found new permits, newest first. Each row is a run summary: its id, its date, and how many permits it added. get_permit_alert_matches reads the permits themselves. Supports limit, offset, since, and before (pdlv_ run ids). Does not use credits.

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": {
      "alertId": "<alertId>"
    },
    "name": "get_permit_alert_deliveries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRuns per page. Does not use credits.
sinceNoA run id ("pdlv_…"): only later runs.
beforeNoA run id ("pdlv_…"): only earlier runs, for the next page back.
offsetNo
alertIdYesThe permit alert's public id ("palr_…"), from list_permit_alerts or create_permit_alert.

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 cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds genuinely new context: newest-first ordering, that each row is a summary ('its id, its date, and how many permits it added'), and that the call does not consume credits. Return volume or page-size limits are not discussed beyond the schema.

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?

Four short sentences, front-loaded with what the tool returns before the sibling routing and pagination notes. Nothing is wasted; each clause carries either return shape, alternative routing, or pagination/credit information.

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 correctly compensates by describing the row shape (id, date, count). It also covers pagination mechanics and cost. Remaining minor gap: no mention of total counts or how to know when the run history ends.

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 coverage is 80%, so the schema already documents the parameters well. The description largely restates what the schema says ('limit, offset, since, and before (pdlv_ run ids)'), and the 'pdlv_' prefix detail duplicates the schema's own wording. It adds no meaning for offset, which the schema leaves undescribed.

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 ('past runs of a building permit alert that found new permits') plus ordering ('newest first') and row shape. It also names the sibling get_permit_alert_matches as the place to read the permits themselves, so an agent can separate the two without opening either schema.

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?

Explicitly routes the agent: this tool returns run summaries, while get_permit_alert_matches reads the permits. That is a real alternative-with-condition. It lacks explicit when-not guidance or prerequisites (e.g., that the alert must exist or have run), so it falls 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