Skip to main content
Glama
Secil Canary Historian MCP Server

Secil Canary Historian MCP Server

by eins53740

get_events

Retrieve event records from the Canary historian for a specified time range, optionally filtered by tag names and limited in count.

Instructions

Retrieve event data from the Canary historian.

Args: start_time: Start time (ISO timestamp or relative expression like "now-1d") end_time: End time (ISO timestamp or relative expression like "now") limit: Maximum number of events to return (default 10) tag_names: Optional list of tag names to filter events

Returns: dict[str, Any]: Dictionary containing event data with keys: - success: Boolean indicating if operation succeeded - events: List of event records - count: Total number of events returned - error: Error message (only on failure)

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": {
      "start_time": "<start_time>",
      "end_time": "<end_time>"
    },
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
end_timeYes
tag_namesNo
start_timeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 discloses the return dictionary keys and the default limit, but says nothing about authentication, rate limits, maximum allowed limit, pagination, or what an 'event' actually is (alarm, audit, etc.). The read-only nature is only implied by 'Retrieve'.

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

Conciseness4/5

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

The lead sentence is front-loaded and the Args/Returns layout is easy to scan. The Returns block largely restates the existing output schema, which is slight redundancy, but overall there is little wasted prose.

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 four parameters, 0% schema coverage, and no annotations, the description does the essential work: it names every argument, gives a time-format example, and states the default limit. Gaps remain around event semantics and limit bounds, but an agent can invoke the tool correctly from what is given.

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 0%, so the description must compensate — and it does document all four parameters, including the useful detail that times accept relative expressions like 'now-1d'. However, it omits constraints an agent needs, such as an upper bound on limit and the expected tag-name format or matching semantics.

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 gives a specific verb and resource: 'Retrieve event data from the Canary historian.' An agent can tell this reads historical events rather than tags or aggregates. It does not, however, differentiate itself from the close sibling get_events_limit10 or explain how it relates to read_timeseries.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The required start_time/end_time pair implies a time-bounded query, but nothing tells the agent when to prefer this over get_events_limit10 or the other read tools, and no prerequisites are stated.

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