Skip to main content
Glama

visualize_trend

Read-only

Build real-time trend lines of ServiceNow record counts over time. Visualize incident volumes and other metrics with chart-ready output and summaries.

Instructions

Build a real-time trend line of ServiceNow record counts over time (e.g. incidents opened per day). Returns chart-ready series, a Teams Adaptive Card line chart, a markdown table, and a summary. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoRecommended: a span filter, e.g. "sys_created_onONLast 30 days@..." or "active=true"
tableYesTable to count, e.g. "incident"
titleNoOptional chart title
intervalNoday (default) | week | month
date_fieldNoDate/time field to bucket on (default "sys_created_on")
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds value by disclosing that it is real-time, read-only, and returns multiple output formats (chart-ready series, Teams Adaptive Card, markdown table, summary). This goes beyond the annotations and informs expected behavior.

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 with no filler. The first sentence states the core action and example; the second lists output formats. It is appropriately sized and front-loaded.

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?

Even though there is no output schema, the description explicitly lists all return formats. With full schema coverage and clear annotations, it provides sufficient context for an agent to select and invoke the tool 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?

Schema description coverage is 100%, so all parameter meanings are defined in the schema. The description does not add extra parameter semantics beyond an example (incidents per day), so the baseline of 3 applies.

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 builds a trend line of record counts, provides an example (incidents per day), and lists distinct output formats (chart series, Adaptive Card, markdown, summary). This specific verb+resource+scope distinguishes it from sibling tools like trend_query or aggregate_report.

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 visualizing record counts over time, but it does not explicitly state when to prefer this tool over alternatives or when not to use it. No exclusions or alternative tool names are provided, so it is merely implied rather than explicit.

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/aartiq/servicenow-mcp'

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