Skip to main content
Glama
Hawk MCP Server

Hawk MCP Server

by talyguryn

get_event_occurrences

Retrieve paginated occurrences for a Hawk event, newest first, with the original occurrence included on the final page.

Instructions

Get one paginated page of all occurrences for an original Hawk event, ordered newest first. The final page also includes the original occurrence.

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": {
      "projectId": "<projectId>",
      "originalEventId": "<originalEventId>"
    },
    "name": "get_event_occurrences"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
projectIdYes
originalEventIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose real behavior beyond the schema: results arrive one page at a time, are sorted newest first, and the original occurrence appears only on the final page — a quirk an agent would otherwise get wrong when reconciling counts. It omits permissions/auth requirements and how to detect the final page.

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 sentences, no filler, and the pagination scope is front-loaded before the ordering and the final-page exception. Every clause adds information.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description must convey both safety profile and result shape. It conveys the conceptual result (a page of occurrences, newest first, original included on the last page) but leaves pagination mechanics and mutation/read safety unstated. Adequate for orientation, insufficient for reliable invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain all four parameters. It hints at limit/cursor through 'one paginated page' but never says how cursor works (e.g., null to start), what limit's default or ceiling is, or what projectId and originalEventId must identify. An agent is left to guess at the pagination contract, the one thing this tool is entirely about.

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 and resource: 'Get one paginated page of all occurrences for an original Hawk event.' It also pins the ordering ('newest first') and a non-obvious inclusion rule ('The final page also includes the original occurrence'), which distinguishes it from the event-listing siblings. It stops short of naming the sibling it is not (e.g., list_project_events), so a 4 rather than 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 Guidelines3/5

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

Usage is implied by the requirement of an 'original Hawk event' — the tool is for expanding a single event into its occurrences, not for listing project events. There is no explicit when-to-use, when-not, or named alternative. An agent can infer the context but must reason about it.

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