Skip to main content
Glama

Search problems

problem_search
Read-onlyIdempotent

Search ServiceNow problems newest first, filtering by open/closed status, state, assignment group, assignee, or text across descriptions and numbers.

Instructions

Find problems, newest first. Open ones only unless active is false. State is a label (e.g. "Root Cause Analysis"); the group can be a name or sys_id. text matches short description, description or number. query adds an encoded query (ANDed).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "problem_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoWords to find in the short description, description or number.
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
queryNoExtra encoded query, ANDed with the rest.
stateNoState label. See choice_list (problem.state).
activeNotrue (default) = open problems, false = closed ones.
fieldsNoField names to return (dot-walking allowed, e.g. caller_id.name). Default: all.
offsetNoRecords to skip (paging). Use nextOffset from the previous result.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.
assignedToMeNoOnly problems assigned to the connected user.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.
assignmentGroupNoGroup name or sys_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and non-open-world, so the safety profile is covered. Beyond that, the description adds genuinely new behavior: results are returned newest first and are silently restricted to open problems unless active is false — a default an agent could otherwise get wrong.

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?

Five tight clauses with the most consequential fact — open-only by default — placed early. Some clauses duplicate schema text and could be trimmed without losing meaning, but there is no filler or repetition.

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?

For an eleven-parameter search tool with full schema coverage and explicit read-only annotations, the description covers the default filter, sort order, and the matching semantics of the two free-text parameters. Paging via offset/limit and field selection are left entirely to the schema, which is acceptable but is the one remaining gap.

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 all eleven parameters are already documented, and most description clauses (group name or sys_id, query ANDed, text field coverage) restate the schema. The only real addition is the concrete state label example, "Root Cause Analysis"; baseline 3 applies when the schema carries the burden.

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?

"Find problems, newest first" states a specific verb and resource and adds the default ordering, which immediately distinguishes a list/search operation from the singular problem_get sibling. It stops short of explicitly naming problem_get as the alternative for single records, so it is clear but not fully differentiated.

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 gives one concrete usage rule: open problems are returned by default and closed ones require active=false. That is helpful context, but there is no statement about when to prefer this tool over problem_get or table_query, nor about prerequisites such as instance selection.

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