Skip to main content
Glama

List approvals

approval_list
Read-onlyIdempotent

List ServiceNow approvals newest first, defaulting to the connected user's pending requests; filter by state, source table, or show all users' approvals.

Instructions

List approvals, newest first. By default only the connected user's pending ones (state Requested). mine false lists everyone's. sourceTable limits to the approving record's table, e.g. change_request or sc_req_item.

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": "approval_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
mineNoOnly approvals assigned to the connected user (default true).
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
stateNoApproval state label, e.g. "Approved" (default "Requested").
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.
sourceTableNoTable of the record being approved.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: default state filter of Requested, default personal scoping, and newest-first ordering. It omits paging behavior, though the schema covers offset/limit.

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?

Three short sentences, front-loaded with the resource and ordering, then the default scope, then the table filter. The phrasing 'mine false lists everyone's' is slightly telegraphic but no sentence is wasted.

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 eight-parameter, zero-required list tool with no output schema, the description covers the scope-defining parameters well; the remaining parameters (fields, limit, offset, instance, displayValue) are fully documented in the schema. Nothing critical is missing, though ordering/paging interaction is left implicit.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3. The description earns extra by explaining the interaction between 'mine' and the default scope and by giving concrete sourceTable examples (change_request, sc_req_item) that the schema lacks.

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?

States a specific verb and resource ('List approvals') plus the sort order ('newest first') and the default scope. It does not explicitly contrast with generic query siblings such as table_query, so it stops short of full sibling differentiation.

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 clear operational guidance for the two most consequential choices: the default of only the connected user's pending approvals, and 'mine false' to widen to everyone's. It also explains what sourceTable constrains. No explicit when-not or alternative-tool routing is provided.

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