Skip to main content
Glama

job_exceptions

Read-onlyIdempotent

Retrieve a Flink job's root exception and recent exception history to diagnose failures and identify recurring errors.

Instructions

Root exception and the most recent entries of the job's exception history.

Input Schema

NameRequiredDescriptionDefault
limitNo
job_idYes
clusterNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful context about what is returned (root exception plus recent entries), but it does not explain pagination, limit behavior, or how cluster selection affects results.

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?

The description is a single efficient sentence with no wasted language. It is front-loaded and appropriately sized, though an explicit verb would make it slightly sharper.

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?

An output schema and annotations reduce some burden, but the description still leaves major gaps: no parameter semantics, no usage guidance, and no explanation of how limit or cluster affect the exception history retrieval.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain any of the three parameters. It gives no meaning for job_id, limit, or cluster beyond what their names loosely imply.

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 identifies a specific resource: the root exception and recent entries of a job's exception history. It implies retrieval but lacks an explicit verb, and it does not explicitly contrast with siblings like diagnose_job or get_logs, though the exception-specific focus is clear.

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?

There is no guidance on when to use this tool versus alternatives such as diagnose_job, get_logs, or job_details. The agent is left to infer usage from the name and description alone.

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