Skip to main content
Glama
nyc-record-mcp

nyc-record-mcp

get_notices_by_agency

Read-only

Retrieve NYC City Record notices published by a specific agency using a full or partial agency name, with pagination controls.

Instructions

Get City Record notices published by a specific city agency (partial name match).

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": {
      "agency_name": "<agency_name>"
    },
    "name": "get_notices_by_agency"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 25; more than 100 is lowered to 100)
offsetNoNotices to skip, for the next page (default 0)
agency_nameYesAgency name or partial name, e.g. 'DCAS', 'Parks'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max results (default 25, max 100)"New value: +"Max results (default 25; more than 100 is lowered to 100)"
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Notices to skip, for the next page (default 0)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observedv1.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data scope are covered structurally. The description adds one genuinely useful behavioral detail — matching is by partial agency name, so exact strings are not required — but says nothing about result ordering, completeness of matches, or what an empty result implies.

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?

A single front-loaded sentence with the resource first and the distinguishing filter second. No filler, no restatement of the title, and the parenthetical carries real information rather than padding.

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 simple read-only filtered-list tool with full schema coverage and readOnly/openWorld annotations, the description covers what is needed to invoke it correctly. The only minor gap is that it does not state the shape of a returned notice, though no output schema exists to defer to.

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%, with limit, offset, and agency_name all documented including examples and clamping behavior, so the baseline of 3 applies. The description's '(partial name match)' restates semantics the schema already provides for agency_name and adds no new detail on pagination or limits.

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 names a specific verb and resource ('Get City Record notices') plus the scoping dimension ('published by a specific city agency'), which separates it from siblings like get_notices_by_date_range or get_notices_by_type by inference. It stops short of explicitly contrasting with search_notices, so an agent must infer the boundary rather than being told it.

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 by the agency-filter framing and the parenthetical '(partial name match)', which hints at loose-input lookup. There is no explicit when-to-use/when-not statement and no mention of when search_notices would be a better choice for free-text queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.