Skip to main content
Glama
miskai-mcp

miskai-mcp

by lietuva-mcp

miskai_permits_near

Read-onlyIdempotent

Find Lithuanian felling permits near a coordinate within a set radius, returning nearest or date-sorted permits with distance, validity, area, volume, species, cutting kind, and ownership.

Instructions

Felling permits near a point, from VMT's live map of permits (atvira.amvmt.lt, updated daily): how many have a polygon within radius_km (0.1 to 25) of it, and 20 of them unless limit says (at most 50): the nearest, nearest first, or with issued_since the newest, newest first by the day their validity starts and then nearest. Each with its distance in km from the point to its polygon's centroid, the centroid (latitude, longitude), its id, validity, area (ha), volume (m³), dominant species, cutting kind, ownership and the rest of its fields. Filtered if asked by cutting kind, dominant species and ownership, each matched in any case as VMT's map writes it (a name it does not hold is refused, with the ones it does), and by issued_since, the permits valid from that day or later. Only valid permits: by default every one not cancelled whose validity ends today or later (including ones that start later); with valid_on (YYYY-MM-DD), those valid on that day. Answered as Markdown: a table, a permit a row, values as the map gives them in Lithuanian; Cadastral number is — for state forests, Regeneration for most permits, Unit and Forest district for a handful. The point is WGS 84 latitude and longitude in Lithuania; this tool finds no place by its name. One permit's polygon is miskai_permit.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "radius_km": "<radius_km>"
    },
    "name": "miskai_permits_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
speciesNoA dominant species, such as "Pušis".
latitudeYes
valid_onNoA day, YYYY-MM-DD: permits valid on it.
longitudeYes
ownershipNo"valstybinė" or "privati".
radius_kmYes
cutting_kindNoSuch as "Plynas kirtimas".
issued_sinceNoA day, YYYY-MM-DD: only permits valid from it or later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the default result cap (20, max 50), the default validity filter (not cancelled, ends today or later, including future-starting permits), the error behavior for unknown filter values (refused, with the values VMT does hold), and the output medium and language (Markdown table, Lithuanian values). It also flags data quirks such as Cadastral number being '—' for state forests.

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

Conciseness3/5

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

Purpose and source are front-loaded, and nearly every clause carries information, but the body is a single sprawling run-on sentence stitched with semicolons and parentheticals that is hard to scan. Splitting ordering, filtering, and output format into distinct sentences would preserve content with far better structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 still fully describes the return shape (Markdown table, one permit per row, distance to centroid, centroid coordinates, id, validity, area, volume, species, cutting kind, ownership). For a 9-parameter spatial query with filtering and sorting options, nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 56%, but the description compensates heavily: it explains radius_km bounds, the implicit limit default of 20, case-insensitive matching for cutting_kind/species/ownership, the exact semantics of issued_since versus valid_on, and the WGS 84 / Lithuania constraint on latitude and longitude. It adds real meaning beyond the schema's terse enum-less string params.

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 ('felling permits near a point') plus the source and update cadence (VMT's live map, atvira.amvmt.lt, updated daily), and spells out the scope: permits whose polygon falls within radius_km of the point. It also differentiates from the sibling miskai_permit ('One permit's polygon is miskai_permit') and rules out geocoding ('this tool finds no place by its name').

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?

Gives clear operational guidance: default is nearest-first with 20 results unless limit says otherwise, and issued_since switches to newest-first ordering. It explains when to use valid_on versus the default 'not cancelled and ends today or later' window, and routes single-permit lookups to miskai_permit. It stops short of explicitly contrasting with miskai_permits_in or miskai_permits_by_parcel.

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