Skip to main content
Glama

Pending expiry horizon

get_pending_horizon
Read-onlyIdempotent

Per pending cohort in a segment (answers pending since the same entry epoch in the latest close record, plus the open epoch's answers): pending, no_seal (rows the record lists with no grade), expires_close (entry epoch + pending TTL), closes_left (minus the open epoch), expires_est_ts and watched (the E18 to E20 cohorts LabLeak post 1582, comment 6150 tracks). The TTL comes from minepoa's /api/params pending_ttl_epochs (ttl_source; segments.json for an archived segment); 16 is only a fallback, flagged in ttl_flags (Stale, Unconfirmed), and ttl_observed cross checks it against the grading list's expires minus since. estab_ttl carries the establishment TTL the same way. Counts only, never a pending score or seal. Use it to see when each pending cohort expires and which TTL value that rests on. CSV at /api/v1/governance/pending-horizon.csv.

Input Schema

NameRequiredDescriptionDefault
dirNodesc (default: the column's natural order) or asc (reversed); blanks lastdesc
sortNorow order: cohort (default, oldest entry epoch first) or a columncohort
segmentNochain segment: omit for the current one; 1 reads segment 1 (archived at the 2026-10-24 genesis cut), whose epoch numbers repeat in the current segment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses TTL provenance (minepoa /api/params pending_ttl_epochs; segments.json for archived segments), fallback behavior (16 flagged via ttl_flags Stale/Unconfirmed), the ttl_observed cross-check, estab_ttl, and an important limitation: counts only, never a pending score or seal.

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 is front-loaded, but the description is two long, heavily nested sentences packing field definitions, TTL source logic, flags, and a CSV endpoint. The content is mostly relevant, yet the run-on structure with many parentheticals makes it hard to parse.

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, so the description must explain return content; it lists the cohort fields and explains TTL provenance, fallback flags, cross-checks, and the counts-only limitation. It is sufficient for a read-only query, though it does not describe the overall response shape beyond the field list.

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%, including enum meanings for dir and sort and a detailed segment note. The description adds no parameter-specific meaning beyond incidentally mentioning 'segment', so the schema carries this dimension.

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 it reports the pending expiry horizon per pending cohort in a segment and enumerates the returned measures (pending, no_seal, expires_close, closes_left, expires_est_ts, watched). It also gives a clear use statement, 'Use it to see when each pending cohort expires and which TTL value that rests on,' but does not explicitly distinguish it from sibling tools such as get_pending_by_epoch.

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?

Provides a clear use context: seeing when each pending cohort expires and which TTL value supports that estimate. It does not state when not to use it or name alternatives, so the agent must infer the choice against get_pending_by_epoch.

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.