Skip to main content
Glama
paulieb89

PyP6Xer MCP Server

pyp6xer_lookahead

Read-onlyIdempotent

Identify activities active within a specified lookahead window from the data date. Covers in-progress and upcoming activities starting in the window.

Instructions

Return activities active within the next N days from the data date.

An activity is included if: finish >= data_date AND start <= data_date + days_ahead. This covers in-progress activities and those starting in the window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cache_keyNoCache key identifying the loaded XER file (set when calling pyp6xer_load_file)default
days_aheadNoNumber of calendar days ahead to include in the lookahead window
proj_idNoProject ID or short name; uses first project if omitted

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide read-only, non-destructive, idempotent hints. The description adds value by detailing the exact filtering logic (finish >= data_date, start <= data_date + days_ahead) and clarifying that it covers in-progress and future-starting activities. This exceeds minimal disclosure.

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?

The description is extremely concise, using two sentences that front-load the purpose and then specify the inclusion criteria. Every word earns its place; no unnecessary information.

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?

Given the simple filtering nature of the tool, the description fully explains the behavior. The presence of a separate output schema means return values are already documented. No additional context is needed for this specific tool.

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 100% with well-described parameters. The description does not add new semantic information beyond what the schema already provides for cache_key, days_ahead, and proj_id. It implicitly confirms the role of days_ahead in the logic but does not enhance parameter understanding.

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?

The description clearly states the tool's purpose with a specific verb ('Return') and resource ('activities') and provides a precise selection criterion based on a lookahead window. It distinguishes itself from sibling tools like list_activities (which likely returns all activities) by narrowing the scope to a specific time range.

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 usage for time-window queries but does not explicitly state when to prefer this tool over alternatives such as list_activities or search_activities. No 'use when' or 'use instead' guidance is provided, leaving the agent to infer context from the name and logic.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/pyp6xer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server