Skip to main content
Glama

Recent utility digs near an address

recent_digs
Read-onlyIdempotent

Lists utility excavation permits on the blocks around one street address in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, Chicago, Dallas, and San Jose, newest first, at most 25 with the total found: the utility, the permit holder, what the work was, the issue date (or, where a city publishes none, the start date) and work window, whether digging is permitted today or scheduled to start later, the street and its distance, and, for a job permitted again and again, how many permits it has run to since when. Use it to see who holds permits on a block, what work is open now or scheduled, which jobs drag on, and how often the street gets opened, when planning or coordinating work there. Narrow with radius_m, since_year, utility or permitted_today. Permits that don't cut the street (opening a manhole, storing material) are left out. Answers are public-records evidence with a records-as-of date and end with the city's 811 notice.

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": {
      "address": "<address>"
    },
    "name": "recent_digs"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoWhich city the address is in, to search only that city and rule out a lookalike address elsewhere. One of "nyc" for New York City, "dc" for Washington, DC, "sf" for San Francisco, "la" for Los Angeles, "sd" for San Diego, "sea" for Seattle, "den" for Denver, "chi" for Chicago, "dal" for Dallas, "sj" for San Jose. The full name or a common short form works too, in any case: "Los Angeles", "NYC", "Brooklyn", "D.C.".
addressYesA street address with house number, in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, Chicago, Dallas, or San Jose. Include the city, e.g. "200 N Spring St, Los Angeles" or "33 Union Square West, Manhattan".
utilityNoOnly this kind of work: "electric" (electric), "gas" (gas), "telecom" (telecom), "water" (water), "sewer" (sewer), "steam" (steam), "capital" (city rebuild).
radius_mNoHow far around the address to look, in meters. Default 150, at most 400.
since_yearNoOnly permits issued in this year or later. Where a city publishes no issue date (Los Angeles, Denver), the year the work starts counts.
permitted_todayNotrue for only the permits whose work window includes today.

Output Schema

NameRequiredDescriptionDefault
cityYes
digsYes
foundYesThe same as total; kept for clients written against 1.0
shownYesDigs listed here: total, or the cap when there are more
totalYesDigs on record that match, before the cap
mapUrlYesThis spot on subsola.com
noticeYes
addressYesThe address as the city geocoder found it
call811Yes
creditsYesThe credit the city's publishers ask for, and OpenStreetMap's; quote it with the records
radiusMYes
utilityYesThe utility asked for, or null for all
sinceYearYes
incompleteYesSome map data failed to load; the answer may miss records
recordsAsOfYesWhen the records were last built, ISO 8601
matchDiffersYesWhether the matched address reads differently from the one asked for
matchedAddressYesThe address the answer is for; the same as address, kept beside requestedAddress
permittedTodayYesWhether only permits open today were asked for
requestedAddressYesThe address as it was asked for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"A street address with house number, in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, Chicago, or Dallas. Include the city, e.g. \"200 N Spring St, Los Angeles\" or \"33 Union Square West, Manhattan\"."New value: +"A street address with house number, in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, Chicago, Dallas, or San Jose. Include the city, e.g. \"200 N Spring St, Los Angeles\" or \"33 Union Square West, Manhattan\"."
    • changedInput schema / properties / city / description
      Previous value: -"Which city the address is in, to search only that city and rule out a lookalike address elsewhere. One of \"nyc\" for New York City, \"dc\" for Washington, DC, \"sf\" for San Francisco, \"la\" for Los Angeles, \"sd\" for San Diego, \"sea\" for Seattle, \"den\" for Denver, \"chi\" for Chicago, \"dal\" for Dallas. The full name or a common short form works too, in any case: \"Los Angeles\", \"NYC\", \"Brooklyn\", \"D.C.\"."New value: +"Which city the address is in, to search only that city and rule out a lookalike address elsewhere. One of \"nyc\" for New York City, \"dc\" for Washington, DC, \"sf\" for San Francisco, \"la\" for Los Angeles, \"sd\" for San Diego, \"sea\" for Seattle, \"den\" for Denver, \"chi\" for Chicago, \"dal\" for Dallas, \"sj\" for San Jose. The full name or a common short form works too, in any case: \"Los Angeles\", \"NYC\", \"Brooklyn\", \"D.C.\"."
    • changedInput schema / properties / city / examples
      Previous value: -[
      -  "nyc",
      -  "dc",
      -  "sf",
      -  "la",
      -  "sd",
      -  "sea",
      -  "den",
      -  "chi",
      -  "dal"
      -]New value: +[
      +  "nyc",
      +  "dc",
      +  "sf",
      +  "la",
      +  "sd",
      +  "sea",
      +  "den",
      +  "chi",
      +  "dal",
      +  "sj"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"A street address with house number, in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, or Chicago. Include the city, e.g. \"200 N Spring St, Los Angeles\" or \"33 Union Square West, Manhattan\"."New value: +"A street address with house number, in New York City, Washington, DC, San Francisco, Los Angeles, San Diego, Seattle, Denver, Chicago, or Dallas. Include the city, e.g. \"200 N Spring St, Los Angeles\" or \"33 Union Square West, Manhattan\"."
    • changedInput schema / properties / city / description
      Previous value: -"Which city the address is in, to search only that city and rule out a lookalike address elsewhere. One of \"nyc\" for New York City, \"dc\" for Washington, DC, \"sf\" for San Francisco, \"la\" for Los Angeles, \"sd\" for San Diego, \"sea\" for Seattle, \"den\" for Denver, \"chi\" for Chicago. The full name or a common short form works too, in any case: \"Los Angeles\", \"NYC\", \"Brooklyn\", \"D.C.\"."New value: +"Which city the address is in, to search only that city and rule out a lookalike address elsewhere. One of \"nyc\" for New York City, \"dc\" for Washington, DC, \"sf\" for San Francisco, \"la\" for Los Angeles, \"sd\" for San Diego, \"sea\" for Seattle, \"den\" for Denver, \"chi\" for Chicago, \"dal\" for Dallas. The full name or a common short form works too, in any case: \"Los Angeles\", \"NYC\", \"Brooklyn\", \"D.C.\"."
    • changedInput schema / properties / city / examples
      Previous value: -[
      -  "nyc",
      -  "dc",
      -  "sf",
      -  "la",
      -  "sd",
      -  "sea",
      -  "den",
      -  "chi"
      -]New value: +[
      +  "nyc",
      +  "dc",
      +  "sf",
      +  "la",
      +  "sd",
      +  "sea",
      +  "den",
      +  "chi",
      +  "dal"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / credits
      Added value: +{
      +  "description": "The credit the city's publishers ask for, and OpenStreetMap's; quote it with the records",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "address",
      -  "requestedAddress",
      -  "matchedAddress",
      -  "matchDiffers",
      -  "city",
      -  "recordsAsOf",
      -  "incomplete",
      -  "radiusM",
      -  "sinceYear",
      -  "utility",
      -  "permittedToday",
      -  "total",
      -  "shown",
      -  "found",
      -  "digs",
      -  "notice",
      -  "call811",
      -  "mapUrl"
      -]New value: +[
      +  "address",
      +  "requestedAddress",
      +  "matchedAddress",
      +  "matchDiffers",
      +  "city",
      +  "recordsAsOf",
      +  "incomplete",
      +  "radiusM",
      +  "sinceYear",
      +  "utility",
      +  "permittedToday",
      +  "total",
      +  "shown",
      +  "found",
      +  "digs",
      +  "notice",
      +  "call811",
      +  "mapUrl",
      +  "credits"
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / properties / digs / items / properties / job
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "nth": {
      +          "description": "This permit's place in the job, 1 for the first",
      +          "type": "number"
      +        },
      +        "permits": {
      +          "description": "Permits filed for this one job",
      +          "type": "number"
      +        },
      +        "renewals": {
      +          "description": "Permits the city itself filed as a renewal or extension (New York only); null where the city does not say",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "since": {
      +          "description": "YYYY-MM-DD, the job's first work start",
      +          "type": "string"
      +        },
      +        "through": {
      +          "description": "YYYY-MM-DD, the job's last work end",
      +          "type": "string"
      +        },
      +        "workOrder": {
      +          "description": "The utility's work order, where the permit names one",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "workOrder",
      +        "permits",
      +        "nth",
      +        "since",
      +        "through",
      +        "renewals"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set when this permit is one of 3 or more for the same job, re-permitted as the work dragged on (same holder and work order, or same holder, work and street, each following closely)"
      +}
    • changedOutput schema / properties / digs / items / required
      Previous value: -[
      -  "permitNumber",
      -  "utility",
      -  "permittee",
      -  "work",
      -  "issued",
      -  "workStart",
      -  "workEnd",
      -  "permittedToday",
      -  "scheduled",
      -  "street",
      -  "distanceM"
      -]New value: +[
      +  "permitNumber",
      +  "utility",
      +  "permittee",
      +  "work",
      +  "issued",
      +  "workStart",
      +  "workEnd",
      +  "permittedToday",
      +  "scheduled",
      +  "street",
      +  "distanceM",
      +  "job"
      +]
  5. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the read-only, idempotent, open-world annotations, the description discloses ordering (newest first), a result cap of 25 with a total count, the fields returned, fallback behavior where cities lack issue dates, a permit-age history for repeat jobs, a records-as-of date, and a closing 811 notice. These are substantive behavioral details the annotations do not provide.

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

Conciseness3/5

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

The definition is front-loaded and wastes few words, but the first sentence is an extremely long run-on that packs the entire return-field inventory into one clause chain. The content earns its place, yet the structure makes it harder to parse than necessary.

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?

Given an open-world, multi-city permits tool with six parameters, the description covers geographic scope, exclusion rules, result limits, ordering, date fallbacks, and usage context. An output schema exists, so the extra return-field detail is not required but is consistent. Nothing an agent needs in order to call it correctly is missing.

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 is already documented in the schema. The description only names four parameters as narrowing options and adds no syntax, defaults, or interpretation beyond what the schema says. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb and resource: it lists utility excavation permits on blocks around one street address, and it names the ten supported cities. It is clear without opening the schema, but it never distinguishes itself from the sibling `whats_under`, so it falls short of a 5.

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 states a concrete usage context — planning or coordinating work on a block — and tells the agent it can narrow results with radius_m, since_year, utility, or permitted_today. It also excludes permits that don't cut the street, which clarifies scope. It offers no explicit when-not-to-use guidance or named alternative tool, so it is not 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