Skip to main content
Glama
oracle-mcp-server

oracle-mcp-server

by Tommi2Day

trace_files

List Oracle database diagnostic trace files newest first, with optional filters by file name, modification time, and result limit to locate recent trace activity.

Instructions

List trace files of the database diagnostic destination (V$DIAG_TRACE_FILE), newest first, optionally filtered by name (e.g. an ospid, "ora", "pmon", "j00", an incident number).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of files (default 20)
minutesNoOnly files modified in the last N minutes (default: all)
name_likeNoCase-insensitive substring of the file name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does state the backing view and result ordering, and 'List' implies a read-only operation, but it says nothing about result size limits beyond what the schema declares, permissions required, or whether the diagnostic destination can be empty/inaccessible. Adequate but thin for a zero-annotation tool.

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?

A single sentence that front-loads the action, the resource, the source view, then ordering, then the optional filter with examples. No filler and nothing buried.

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 three-parameter, optional-everything read tool with no output schema, the description covers what is listed, where it comes from, how it is ordered, and how to filter it. The remaining gap, what columns each file entry contains, is minor since no output schema exists to rely on but the tool is a simple listing.

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 100%, so baseline would be 3, but the description adds genuine value by giving concrete name_like patterns (ospid, incident number, pmon/j00 process prefixes) that tell the agent how to construct effective filters. The minutes and limit parameters receive no additional meaning beyond the schema.

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 trace files'), names the underlying source (V$DIAG_TRACE_FILE) and the ordering ('newest first'). The resource itself is distinct enough from siblings like trace_content or alert_log that an agent can select it, though the description never explicitly contrasts with them.

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?

The examples for the name filter ('ospid, "ora", "pmon", "j00", an incident number') implicitly tell the agent this is the lookup-by-name entry point into trace artifacts, which is useful usage context. However there is no explicit when-to-use/when-not guidance and no named alternative such as trace_content for reading the file once located.

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