Skip to main content
Glama

List unit turns

list_unit_turns
Read-onlyIdempotent

Every unit between tenants — from the notice through the move-out inspection, the make-ready work, ready to rent, listed and leased — with each turn's stage (stage_label), a plain sentence about where it stands (sentence — quote it), the move-out and ready-by dates, how many checklist items are open or overdue, days_vacant and vacancy_cost. vacancy_cost and stats.vacancy_cost are ESTIMATES at the advertised rent, not money lost, and are null when the unit has no rent — say so when you quote them, and never read null as $0. overdue true means the unit is past its ready-by date. stats totals the whole board (open turns, in make-ready, overdue, ready or listed, vacant days, average days to re-let over the last year) and stats_note explains them. view filters by stage: open (default), notice, inspect, make_ready, ready, listed, leased, overdue, closed. Starting, closing or marking a turn ready is done in Seayora under Unit turns; this tool only reads.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_unit_turns"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoMatch an address, a unit or a reference code.
sortNoDefault target (soonest ready-by first).
viewNoDefault open.
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
property_idNo

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
viewNo
countNo
statsNo
totalNo
turnsNo
viewsNo
truncatedNo
stats_noteNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, closed-world), the description adds real interpretive rules: `vacancy_cost` is an estimate at advertised rent, not lost money; null must never be read as $0; `overdue` means past the ready-by date; `stats_note` explains the aggregates. Those are exactly the semantic traps an agent would otherwise misreport to a user.

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?

It is a single dense paragraph of backticked field names that reads as a run-on, and because an output schema exists, much of the field-by-field enumeration is redundant. The estimate/null caveats and the read-only routing sentence earn their place, but the payload could be trimmed considerably.

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 an output schema and full annotations supplied, the description covers the remaining gaps an agent needs: stage vocabulary, default view, estimate/null semantics, and where mutations belong. Nothing essential is missing for a 6-parameter read-only list tool; only the sibling routing is unaddressed.

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 83%, so the schema already documents q, sort, view, limit, offset and their defaults. The description restates the `view` stage list (already an enum in the schema) and spends its words on output fields rather than on parameter meaning; property_id and sort are not elaborated at all. Baseline 3 is appropriate.

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?

The description names the resource concretely ('every unit between tenants') and enumerates the full make-ready lifecycle (notice → inspection → make-ready → ready → listed → leased), so an agent knows this is the turn/vacancy board rather than a generic unit list. It never names a sibling (e.g. unit_timeline) to draw the boundary, so it stops short of a 5.

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?

Usage is clear: `view` selects the stage slice with open as the default, and the closing line states that starting, closing or marking a turn ready must be done in Seayora under Unit turns because 'this tool only reads' — an explicit when-not. It gives no guidance on when to prefer a sibling tool over this one, so it is a 4 rather than a 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