Skip to main content
Glama
atrisorb
by atrisorb

generate_correlation_insight

Find related events across different tools (e.g., Slack threads, Jira tickets, GitHub PRs) and uncover links, patterns, and open threads to understand cross-source activity.

Instructions

Generate a cross-source correlation insight: finds related events across different sources (e.g. a Slack thread, a Jira ticket and the PR that resolved it) and surfaces the links, patterns and open threads. Use when the user wants to understand how activity connects across tools. Runs synchronously and returns Markdown. Consumes credits, charged once on success. Call list_filter_options before using filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoPer-source advanced filters, AND-combined across dimensions. Keys MUST be source ids (an unknown source id is rejected with 400). The dimension VALUES are matched leniently – call list_filter_options first to get the real selectable values for the project rather than guessing.
sourcesNoRestrict to these source ids (e.g. "github", "slack"). Unknown ids are rejected with 400.
max_eventsNoCap on events processed (1-1000, default 150).
project_idYesProject id from list_projects to generate the insight for.
lookback_hoursNoHours of activity to analyze (1-2160, default 168 = 7 days).
Behavior4/5

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

Discloses synchronous execution, Markdown return, and credit consumption. With no annotations, these details add valuable transparency beyond purpose. Could mention error handling or rate limits to reach 5.

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?

Four sentences, each serving a distinct purpose (what, when, how, prerequisite). No fluff, front-loaded with the most critical information.

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?

Covers core purpose, behavior, and key prerequisite. With no output schema, the 'returns Markdown' is helpful but lacks detail on response structure. Adequate for a synchronous tool with good schema coverage.

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%, so baseline is 3. Description adds no new parameter semantics beyond a usage hint for filters. The schema already fully documents parameters.

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?

Clearly states the tool generates a cross-source correlation insight, uses specific verb 'generate', and distinguishes from siblings like 'generate_architecture_insight' by focusing on cross-source links.

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 explicit usage context ('Use when the user wants to understand how activity connects across tools') and a prerequisite ('Call list_filter_options before using filters'). Lacks explicit alternatives or when-not-to-use.

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/atrisorb/flowrelay-mcp-server'

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