Skip to main content
Glama

Get an incident

incident_get
Read-onlyIdempotent

Retrieve a ServiceNow incident by number or sys_id with its 20 most recent comments, work notes, and attachment metadata; set includeJournal to false to skip the journal.

Instructions

Get one incident by number or sys_id, with its latest 20 comments and work notes and its attachment list (metadata only; use attachment_download for content). Set includeJournal false to skip the journal.

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": "incident_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.
includeJournalNoInclude the latest 20 journal entries (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the safety profile is covered. The description nonetheless adds real value by disclosing the 20-entry journal cap and that attachments are metadata only. It omits other behavioral detail such as what happens when the id matches no record or how truncation of the journal is signalled.

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?

A single well-formed sentence with a parenthetical caveat about attachments and a trailing note on the journal flag; it is front-loaded with the core action and free of filler. The trailing journal sentence is slightly tacked-on but not wasteful.

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 usefully characterizes the return payload (record, capped journal, attachment metadata) so an agent knows what to expect. Multi-instance behavior is left entirely to the schema's instance field, and error/not-found behavior is unaddressed, keeping it short of fully complete.

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 three parameters are already documented, including the accepted id formats and the includeJournal default. The description only restates the journal toggle, adding no format or validation detail beyond the schema, 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?

Specific verb and resource ("Get one incident"), plus precise identification methods (number or sys_id) and an explicit inventory of what is bundled in the response: latest 20 comments and work notes, and attachment list metadata. This is clearly distinguishable from incident_search or record_lookup without needing their schemas.

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?

Gives concrete usage guidance on the journal flag ("Set includeJournal false to skip the journal") and routes content retrieval to the sibling attachment_download. It does not state when to prefer incident_search or table_get over this single-record fetch, but the single-record scope is clear enough that the omission is minor.

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