Skip to main content
Glama
Sourolio10

servicenow-mcp-agent

by Sourolio10

search_incidents

Find incidents by text, state, priority, caller, assignment, or custom query. Returns compact summaries for matching records to locate incidents without exact numbers.

Instructions

Find incidents matching a filter. This is the primary discovery tool.

Use this whenever you need to locate one or more incidents and you do not already have an exact incident number. Returns a compact summary of each match, not the full record.

Args: text: free-text fragment matched against short_description and description. state: New, In Progress, On Hold, Resolved, Closed, or the numeric code. priority: 1-5, where 1 is critical. Accepts "1" or "<=2" style comparisons. caller: name of the person who reported the incident. assigned_to: name of the engineer the incident is assigned to. assignment_group: e.g. "Network Operations", "Database Administration". cmdb_ci: exact configuration item name, e.g. "PAY-APP-01". active_only: when true (default) exclude Resolved and Closed incidents. Set false when looking for historical or previously solved incidents. opened_after: ISO timestamp, e.g. "2026-08-22 00:00:00". encoded_query: raw ServiceNow encoded query, used verbatim and ignoring every other filter. Escape hatch for conditions the named arguments cannot express. order_by: field name; prefix with "-" for descending. Default newest first. limit: maximum rows to return (1-20).

Prefer get_incident when you already know the exact number. Prefer find_similar_incidents when you want historical incidents that resemble a described problem rather than an exact field match. Prefer get_incident_stats when you only need counts per group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
limitNo
stateNo
callerNo
cmdb_ciNo
order_byNo-opened_at
priorityNo
active_onlyNo
assigned_toNo
opened_afterNo
encoded_queryNo
assignment_groupNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description fully carries the behavioral disclosure burden. It discloses that only a compact summary is returned rather than the full record, that active_only defaults to excluding Resolved/Closed incidents, that encoded_query overrides all other filters, that order_by defaults to newest first, and that limit caps at 20. These are genuine behavioral insights beyond the schema.

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 long but every line earns its place. It is front-loaded with the purpose and primary usage rule, then organized into a scannable parameter list, then closed with explicit sibling alternatives. There is no filler or repetition.

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?

For a complex 12-parameter, all-optional tool with no annotations, the description is remarkably complete: it explains each parameter, return shape, defaults, overrides, and when to use sibling tools. Since an output schema exists, return-field details need not be repeated, and nothing essential appears missing.

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

Parameters5/5

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

Schema description coverage is 0%, but the description documents all 12 parameters with extra meaning: valid state values, priority comparison syntax, exact/partial matching semantics for cmdb_ci, ISO timestamp format, encoded_query precedence, order_by syntax, and limit constraints. This fully compensates for the schema's lack of descriptions.

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 opens with a specific verb and resource: 'Find incidents matching a filter', and identifies itself as the primary discovery tool. It is clearly distinguished from siblings like get_incident, find_similar_incidents, and get_incident_stats, so an agent can immediately tell what this tool is for.

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

Usage Guidelines5/5

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

Includes explicit when-to-use guidance: 'Use this whenever you need to locate one or more incidents and you do not already have an exact incident number.' It also names precise alternatives and their conditions: prefer get_incident for known numbers, find_similar_incidents for resemblance-based searches, and get_incident_stats for counts. This is exemplary routing guidance.

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

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