Skip to main content
Glama

get_dependency_graph

Generate an Oracle schema object-dependency graph with directed dependent→referenced edges, optional object name/type filters, and a Mermaid diagram.

Instructions

Build an object-dependency graph for a schema using all_dependencies. Returns directed edges (dependent→referenced) filtered by optional name/type, plus a Mermaid diagram string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional object name to scope the graph.
typeNoOptional object-type filter (TABLE, VIEW, PROCEDURE, PACKAGE, …).
schemaNoSchema (owner) to inspect. Optional — defaults to the server's current schema; omit rather than guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.3

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the edge direction semantics (dependent→referenced) and that the return includes a Mermaid diagram string, which is genuine behavioral detail. It says nothing about permissions, cost, or failure modes, so it is adequate but not rich.

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 tight sentences with the core action front-loaded and the return shape trailing. Nothing is wasted, though it is dense enough that the return description is somewhat compressed.

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?

With no output schema and no annotations, the description still covers the source view (all_dependencies), the scoping/filtering, and the return format (edges plus Mermaid string). Only permission and error behavior are omitted, which is minor for a read-style graph tool.

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 baseline is 3. The description restates that name/type are optional filters but adds no format, syntax, or interaction detail beyond what the schema already documents, so it neither helps nor hurts.

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: "Build an object-dependency graph for a schema," and specifies the output (directed dependent→referenced edges plus a Mermaid string). It does not, however, differentiate itself from sibling tools like list_dependencies or get_fk_graph, which an agent could easily confuse it with.

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 notes the graph is scoped to a schema and can be narrowed by name/type, but gives no when-to-use guidance, no exclusions, and never mentions the alternatives (list_dependencies, get_fk_graph) that an agent would weigh it against. Usage must be inferred.

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