Skip to main content
Glama

get_flow_error_log

Retrieve detailed error logs for failed ServiceNow flow executions to diagnose and troubleshoot automation issues.

Instructions

Get detailed error logs for failed flow executions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flow_sys_idYesFlow sys_id
daysNoLook-back period in days (default 7)
limitNoMax records (default 25)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Get' implies a read operation, it doesn't specify whether this requires special permissions, what format the logs are returned in, whether there are rate limits, or if the tool is safe for frequent use. The description mentions 'detailed' logs but doesn't elaborate on what details are included.

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 a single, focused sentence that efficiently communicates the core purpose without any unnecessary words. It's perfectly front-loaded with the essential information and wastes no space on redundant details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 3 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns (log format, structure, fields), doesn't mention any behavioral constraints, and provides no context about typical usage patterns. The agent would need to guess about the output and operational characteristics.

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 parameters are documented in the schema itself. The description doesn't add any additional context about parameter usage beyond what's already in the schema descriptions. The baseline score of 3 reflects adequate coverage through the schema alone.

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 clearly states the action ('Get') and target resource ('detailed error logs for failed flow executions'), making the purpose immediately understandable. It doesn't specifically differentiate from sibling tools like 'get_flow_execution' or 'get_sys_log', but the focus on 'error logs' and 'failed' executions provides reasonable specificity.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'get_flow_execution' (which might include success logs) or 'get_sys_log' (which might be more general). There's no mention of prerequisites, typical use cases, or when other tools might be more appropriate.

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

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