Skip to main content
Glama
cbjworld

local-policy-mcp

by cbjworld

research_policy

Read-only

Search Korean local-government policy, project, and budget documents; compare municipalities and return cited evidence with source links for focused policy questions.

Instructions

Start here for a short municipal policy question. Accept the user question as-is; the host AI can supply 1-3 semantic search expressions in queries without asking the user to write them. Search up to four original-publication pages per expression; if there are no project candidates after a successful search, try one all-metadata page per expression (at most fifteen search requests total). Distinguish no candidates in scope from search failure using searchOutcome. Deduplicate URLs, screen candidates, and try up to six documents to obtain readable documents from two institutions for a focused query; a failed institution may be retried with another candidate. Returns evidenceMap stage paths and budgetEvidenceLinks when body identifiers and same-institution 2026 appropriations match. Funding-table checks are arithmetic only; never add a provincial share to the municipal total or confuse allocation with beneficiary spending. Returns conservative project bundles by institution, explicit title year and normalized title. Unknown years, different departments and distinct documents with identical titles remain separate. Review project reviewFlags before combining figures. Reads at most one additional same-bundle document for missing evidence (seven documents total). Bundles are candidates, not confirmed identities; never assume newest document supersedes another or merge budget years. A generic topic such as youth or pets returns an overview without choosing a sub-topic. Default period is past two years, explicitly returned. Honor user dates by supplying both dates. Returns partial failures, sources and evidence; host must judge semantic relevance and synthesize a plain-language answer. Returns presentation with compact field evidence and original-document links; show these before raw details. Project existence may be title_inferred even if attachments cannot be read. Present those separately from body-supported findings; keep missing facts unknown. Use comparison for a short institution/project/budget/evidence/source table; use document references for details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNoDefault compact uses a single document table capped at 24000 characters with explicit omissions; full returns all extracted research data.
endDateNo
queriesNo
questionYes
startDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.7

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare read-only/open-world, yet the description discloses a large amount beyond them: per-expression page caps, a fifteen-request ceiling, a six-to-seven document budget, retry rules for failed institutions, arithmetic-only funding checks, deduplication, reviewFlags, partial failures, and title_inferred vs body-supported distinctions. No contradiction with readOnlyHint/destructiveHint=false is present.

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

Conciseness2/5

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

The description is a single ~330-word block of telegraphic, comma-chained rules with no paragraphs, bullets, or headings, mixing search-budget limits, funding arithmetic warnings, and presentation instructions. Front-loading is fine, but the density makes several sentences ('a failed institution may be retried with another candidate') hard to parse, and much of the detail belongs in structured fields or docs.

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 properly explains the returns: evidenceMap stage paths, budgetEvidenceLinks, conservative project bundles with title year, compact-field presentation with original-document links, and partial failures. It covers behavior, parameters, defaults, and outputs for a complex tool, leaving only minor ambiguity about the exact response shape.

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?

With only 20% schema description coverage, the description carries the load: it explains that 'queries' accepts 1-3 host-generated semantic search expressions, that 'question' is passed as-is, and that startDate/endDate must both be supplied to honor user dates (default: past two years). It adds real meaning over the bare schema, though it never states the YYYYMMDD format encoded in the pattern.

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 opening sentence 'Start here for a short municipal policy question' gives a clear entry-point scope, and the body implies a research/orchestration tool that searches, screens candidates, and returns bundles and evidence. The verb+resource is implied rather than crisply stated, and it never contrasts itself with siblings such as search_budget_projects or build_research_brief, only with 'comparison' and 'document references' modes.

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?

Strong entry guidance ('Start here for a short municipal policy question'), query-supply rules ('host AI can supply 1-3 semantic search expressions'), default-vs-user-supplied date handling, and a routing hint ('use comparison for a short ... table; use document references for details'). It lacks explicit when-not-to-use guidance against the other seven sibling tools, 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.