Skip to main content
Glama

parse_legal_description

Read-only

Parse a Public Land Survey legal description into its parts, including aliquots, lots, and tracts, with warnings for guessed values. Pass a tract to plss_locate to map it.

Instructions

Read a Public Land Survey description into its parts. Makes no network call.

Handles GLO's padded 0840N/0390W, T84N R39W, E½NE / E2NE / "E 1/2 NE 1/4", words ("east half of the northeast quarter"), lots, and several tracts. Aliquots expand to quarter-quarters (E½NE -> NENE, SENE). A parse is a reading of a reading: raw keeps the text, and warnings says what was guessed (a bare section number, an inferred meridian). Pass a tract to plss_locate to place it on the map.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesA land description as written, e.g. 'E½NE Sec. 18, T84N R39W, 5th P.M.' Several tracts may be separated by ';' or new lines.
stateNoThe state, which lets a missing meridian be inferred.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint=false; the description reinforces this ('Makes no network call') and adds real behavior context beyond annotations: the accepted input dialects, aliquot expansion behavior, and that `warnings` reports guesses while `raw` preserves the original text.

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 purpose, then format coverage, then output semantics, then routing. Dense but each clause carries information; the format examples are somewhat list-heavy but justified for a parser.

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?

No output schema exists, and the description covers the key return concepts (`raw`, `warnings`) though not their exact structure. Given a two-parameter read-only parser, an agent has enough to invoke it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by enumerating the accepted text formats (0840N/0390W, T84N R39W, E½NE, words, lots, tracts) and explaining that state allows a missing meridian to be inferred.

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?

Specific verb+resource: 'Read a Public Land Survey description into its parts.' It clearly distinguishes itself from siblings like plss_locate by describing the parse step and routing the placement step elsewhere.

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?

Ends with an explicit handoff: 'Pass a tract to plss_locate to place it on the map,' and notes 'Makes no network call,' which frames when to use it locally. No explicit when-not-to-use case, but the alternative is named and the boundary is clear.

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