Skip to main content
Glama

search_ordinance

Find Madison municipal regulations on topics like permits, zoning, noise, and parking by searching the city's ordinances with specific citations.

Instructions

Search Madison, WI municipal code/ordinances for specific topics.

Use this tool when users ask about:

  • City regulations (fences, parking, noise, permits, etc.)

  • What is allowed or prohibited in Madison

  • Requirements for construction, businesses, animals, etc.

  • Penalties and fees for violations

Returns relevant ordinance sections with citations.

Examples of good queries:

  • "fence height limit residential"

  • "short term rental requirements"

  • "parking permit downtown"

  • "noise ordinance quiet hours"

  • "building permit required when"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language search query about municipal regulations
max_resultsNoMaximum number of results to return (default: 5, max: 10)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool 'returns relevant ordinance sections with citations' which describes the output behavior, but doesn't mention rate limits, authentication requirements, or error conditions. The description doesn't contradict any annotations since none exist.

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?

The description is well-structured and efficiently organized with clear sections: purpose statement, usage scenarios, return value description, and concrete query examples. Every sentence adds value without redundancy.

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 search tool with 2 parameters and no output schema, the description provides good context about what the tool does and when to use it. However, without annotations or output schema, it could benefit from more detail about the format of returned results (e.g., structured data vs text snippets).

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?

The schema description coverage is 100%, so the schema already documents both parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema (e.g., it doesn't explain query formatting or result ranking). This meets the baseline for high schema coverage.

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 clearly states the tool's purpose as searching Madison, WI municipal code/ordinances for specific topics, with specific examples of regulations (fences, parking, noise, permits). It distinguishes from the sibling tool 'get_ordinance_details' by focusing on search rather than detailed retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool, listing specific user question types (city regulations, what is allowed/prohibited, requirements, penalties/fees) and includes concrete examples of good queries. This clearly differentiates it from the sibling tool for detailed ordinance retrieval.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krishangMittal/GovNavigator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server