Skip to main content
Glama

get_dag

Retrieve a repository or branch DAG as JSON, optionally filtered by pipeline, to inspect dependencies and pipeline structure.

Instructions

DAG eines Repos/Branches als JSON (pipeline optional).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "org": "<org>",
      "repo": "<repo>"
    },
    "name": "get_dag"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYes
repoYes
branchNomain
pipelineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden. It states the output is JSON but says nothing about read-only nature, required permissions, response size, or behavior when the repo/branch/pipeline does not exist — all material for a 4-parameter retrieval tool.

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?

A single short sentence with the key constraint at the end. It is efficient and front-loaded, though the parenthetical is terse enough to be ambiguous.

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 four parameters, no annotations, no parameter descriptions, and no output schema, this one-liner leaves significant gaps: scope of 'org', semantics of 'pipeline', and any behavioral or failure characteristics remain undocumented.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only covers repo, branch, and pipeline at a surface level and never explains what the 'pipeline' filter does semantically, nor mentions 'org' at all despite it being required.

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 names a specific resource (the DAG) and its scope (a repo/branch), plus the serialization format (JSON). The verb is only implied by the tool name 'get_dag', and nothing distinguishes it from siblings like get_pipeline or get_task, but an agent can still tell what it fetches.

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 when-to-use guidance and no comparison to alternatives such as get_pipeline. The only hint is '(pipeline optional)', which merely signals that the pipeline argument may be omitted rather than explaining when to include it.

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

Deploy Server

Other Tools