Skip to main content
Glama

Get restriction clauses

get_clauses
Read-onlyIdempotent

Get restriction clauses applying to a parcel (prop_id or geo_id as returned by lookup_restrictions), optionally filtered by topic: units_per_lot, single_family, setbacks, use, short_term_rental, fences, accessory_buildings, min_size, duration_renewal, amendment_process, other. Superseded clauses are flagged and listed last.

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": {
      "prop_id": "<prop_id>"
    },
    "name": "get_clauses"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoOptional topic filter: units_per_lot, single_family, setbacks, use, short_term_rental, fences, accessory_buildings, min_size, duration_renewal, amendment_process or other. Omit for all topics.
prop_idYesParcel id as returned by lookup_restrictions (TCAD prop_id or geo_id).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / prop_id / description
      Added value: +"Parcel id as returned by lookup_restrictions (TCAD prop_id or geo_id)."
    • addedInput schema / properties / topic / description
      Added value: +"Optional topic filter: units_per_lot, single_family, setbacks, use, short_term_rental, fences, accessory_buildings, min_size, duration_renewal, amendment_process or other. Omit for all topics."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and idempotency need no restating. The description does add genuine behavioral context beyond that: superseded clauses are flagged and listed last, which affects how results should be read. It does not discuss truncation, ordering across topics, or empty-result behavior, so it remains a modest addition.

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

Conciseness4/5

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

Front-loaded with the core action in the first clause, then the filter and finally the superseded-clause note. The inline enumeration of eleven topics duplicates the schema description, which is mildly redundant, but it is short and easy to scan.

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?

The tool is simple (two params, full schema coverage, output schema present, rich annotations), so the description need not explain return shapes. Adding the superseded-clause ordering note covers the main thing the schema does not. Only minor gaps remain, such as behavior when no clauses match.

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 100% and both parameters are documented in the schema, including the same topic enumeration, so the baseline is 3. The description largely restates the schema's topic list and prop_id provenance rather than adding new semantic detail (e.g. whether topics are mutually exclusive or how matching works).

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 ('Get restriction clauses applying to a parcel') with the scope immediately narrowed to a single parcel and an optional topic filter. It also ties itself to the sibling lookup_restrictions by naming where prop_id/geo_id comes from, so an agent can place it in the workflow without opening the 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?

The description makes the calling context clear: it must be called with an id obtained from lookup_restrictions, and the topic filter is explicitly optional. It does not state exclusions or when to prefer a different sibling (e.g. get_document), so it falls short of a full 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