Skip to main content
Glama

Get a problem

problem_get
Read-onlyIdempotent

Retrieve a ServiceNow problem by number or sys_id, including its latest 20 comments and work notes plus linked incidents with number, summary, state, and priority.

Instructions

Get one problem by number or sys_id, with its latest 20 comments and work notes and the incidents linked to it (incident.parent). Linked incidents show number, summary, state and priority.

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": {
      "id": "<id>"
    },
    "name": "problem_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record sys_id (32 hex characters) or its number, e.g. INC0010001.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, non-open-world), and the description adds genuinely useful behavior beyond them: related comments/work notes are truncated to the latest 20, and linked incidents are expanded with number, summary, state and priority. No mention of instance scoping or error behavior on a missing id, keeping it short of a 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?

Two sentences, zero filler. The primary behavior is front-loaded and the secondary payload details follow, making it easy to scan.

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 no output schema, the description carries the burden of explaining returns, and it does so for the non-obvious parts: the 20-comment cap and which incident fields come back. It leaves the top-level problem fields and the not-found behavior unstated, which is a minor gap for a simple read tool.

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 both parameters are already documented in the schema, including the sys_id/number dual form. The description restates the accepted identifier forms but adds no format constraints or guidance on the instance alias, so the baseline of 3 applies.

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 states a specific verb and resource ("Get one problem") and identifies the two accepted identifiers, sys_id or number. It also enumerates the bundled data (latest 20 comments/work notes, linked incident.parent incidents). It doesn't explicitly name problem_search as the alternative, so sibling differentiation is only implicit through the singular "one problem".

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?

Usage is implied: this is the by-identifier single-record fetch, as opposed to a search. There is no explicit statement of when to prefer it over problem_search, nor any note about prerequisites or what happens if the record is absent, leaving selection guidance to inference.

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