Skip to main content
Glama
oracle-mcp-server

oracle-mcp-server

by Tommi2Day

incidents

Retrieves Oracle ADR diagnostic problem records within a specified day range, returning time, error code, problem key, and signalling component to help diagnose database issues.

Instructions

Diagnostic incidents recorded in the ADR (V$DIAG_INCIDENT / V$DIAG_PROBLEM): time, error code, problem key, signalling component. Incidents with a problem key correspond to alert log entries and trace files.

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

Input Schema

NameRequiredDescriptionDefault
daysNoTime window in days (default 7)
limitNoMaximum number of rows (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It establishes that this surfaces recorded (read-only) diagnostic data and discloses the output shape via the field list, which is useful. It does not state default window/row behavior beyond what the schema documents, nor result volume or ordering characteristics.

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?

Two compact sentences, front-loaded with the resource and its source views, followed by the returned columns and a useful cross-reference to alert log and trace files. Every clause carries information, though the field enumeration is dense and could be scannable.

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 a two-optional-parameter read tool with full schema coverage and no output schema, the description compensates by naming the returned fields, so an agent knows what comes back. The main remaining gap is explicit guidance on when to choose this over alert_log or trace_files.

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 the schema already fully documents both optional parameters (days window and limit with defaults and bounds). The description adds no parameter-level meaning beyond the schema. Baseline 3 is appropriate where the schema does the work.

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 concrete resource — diagnostic incidents recorded in the ADR, specifically the V$DIAG_INCIDENT / V$DIAG_PROBLEM views — and enumerates the fields returned (time, error code, problem key, signalling component). It is clearly a diagnostic-read tool and is distinguishable from generic query tools by naming the underlying views. It stops short of naming which sibling to prefer, but the resource is unambiguous.

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 only implied: an agent can infer this is for incident-level diagnostics and that problem-keyed incidents tie to alert log entries and trace files. There is no explicit when-to-use versus alert_log, trace_files, or query, and no stated exclusions. The correspondence sentence hints at routing but leaves the decision to inference.

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