Skip to main content
Glama

Contractor's permits

get_contractor_permits
Read-onlyIdempotent

List the permits pulled by one contractor, identified by the contractor UUID from search_contractors. Returns up to 25 permits per page with the contractor's work history fields (dates, categories, values). Results carry no property owner name, owner mailing address or permit applicant name fields.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
startNoInstead of page: 1-based position of the first result to return, e.g. start=24 continues after result 23 (as named in `_notes`)
per_pageNoResults per page (default 25, max 25)
contractor_idYesContractor UUID from search_contractors results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description adds substantive context beyond them: the 25-per-page cap and, notably, the fields deliberately absent from results (no owner name, owner mailing address, or applicant name), which prevents an agent from promising data it cannot get here.

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?

Three dense sentences: purpose and identifier source first, then return shape, then the explicit field exclusions. There is no filler, and the most important constraints are front-loaded.

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 correctly takes on the burden of describing return contents (work history fields: dates, categories, values) and their gaps, plus page sizing. The only remaining soft spot is the page-vs-start interaction, which the schema covers but the description does not reinforce.

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%, and the schema already documents page, start, per_page limits, and that contractor_id comes from search_contractors results. The description's mention of the UUID source and the 25-per-page ceiling largely restates that, adding little new semantics. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource ('List the permits pulled by one contractor') with an explicit scope restriction to a single contractor rather than all permits. It names search_contractors as the source of the required identifier, which helps distinguish it from that sibling. However, it never explicitly contrasts itself with search_permits, the closest alternative for permit queries.

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 gives clear entry conditions: you must already have a contractor UUID obtained from search_contractors, which establishes the tool chain an agent needs. It stops short of naming a when-not case or pointing to search_permits for property- or address-based queries, so the routing guidance is good but not complete.

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