Skip to main content
Glama
PubLedge MCP Server

PubLedge MCP Server

Official
by snapsynapse

get_upcoming

Retrieve legal instruments with future enactment, effective, or expiration dates, sorted ascending, to identify and track upcoming regulatory milestones.

Instructions

Return legal instruments with upcoming milestones (enacted, effective, expires dates in the future). Sorted by date ascending.

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": "get_upcoming"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.5

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the inclusion criteria (future enacted, effective, expires dates) and the ordering (date ascending), which are meaningful beyond a bare 'get' label. It omits return format and pagination behavior, but for a simple read-only list this is largely sufficient.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core purpose and followed by the sort order. Every sentence adds useful information with no filler.

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?

For a simple filtered-list tool with no output schema and complete parameter documentation, the description covers the essential scope and ordering. It could clarify tie-breaking for multiple milestone dates or whether past milestones are excluded, but it is complete enough to invoke correctly.

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?

The input schema already documents the single 'limit' parameter at 100% coverage, including its default. The description adds no additional parameter meaning, so baseline 3 applies.

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 states a specific verb (return), resource (legal instruments), and scope (upcoming enacted/effective/expires dates), making the tool's purpose clear. It does not explicitly differentiate from siblings like get_recently_changed, but the milestone focus is distinct enough.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it by defining 'upcoming milestones', but it gives no explicit when-to-use/when-not guidance or alternatives to consider. An agent must infer that this is the right tool for forward-looking milestone queries.

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