Get Location Compliance Gaps
get_location_compliance_gapsRead a site's saved compliance gaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
get_location_compliance_gapsRead a site's saved compliance gaps.
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the safety profile is covered. The only added signal is the word 'saved', hinting at a stored snapshot rather than live computation, but nothing is said about freshness, size, or behavior when no gaps exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the resource and scope front-loaded and zero filler. It is appropriately sized, though brevity here edges toward under-specification rather than precision.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be described, but with an undocumented required parameter, no usage guidance, and no disambiguation from get_compliance_scorecard/get_compliance_trends, the definition is not complete enough for confident invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% – locationId has type and pattern constraints but no description. The description does not say what a location id is, where to obtain it (e.g., list_locations), or whether an unknown id errors or returns empty, so it fails to compensate for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Read') and resource ('compliance gaps') scoped to a site, but 'saved' is unexplained and there is no differentiation from near-siblings such as get_compliance_scorecard or get_compliance_trends, which an agent could easily confuse with it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No statement of when to use this tool, when to prefer an alternative, or what prerequisite (a valid location id) is needed. The agent must infer everything from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.