Skip to main content
Glama
hidetaka-cci

advanced-circleci-mcp-server

by hidetaka-cci

Get Workflow DAG

get_dag

Fetch the job dependency graph for a pipeline or workflow to analyze job requires and dependencies, identify unnecessary serialization, missing requires, and executor sizing issues.

Instructions

Return the job dependency graph (DAG) for a pipeline or workflow. Includes job requires/dependencies lists and (when include_resource_class is true) the actual resource_class that was assigned. Use this to identify unnecessary serialization, missing requires, and executor sizing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipeline_idNoPipeline UUID. Fetches all workflows in the pipeline. Required if workflow_id is not provided.
workflow_idNoWorkflow UUID. Fetches jobs for this single workflow. If pipeline_id is also set, pipeline_id takes precedence.
include_resource_classNoFetch actual resource_class from job detail endpoint (N API calls, one per job). Set false to skip for large pipelines.
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions the optional include_resource_class parameter affects performance (N API calls), but does not disclose other behavioral traits like authentication needs or side effects.

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?

Two sentences: first states purpose, second gives usage guidance. No wasted words; each sentence earns its place.

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 tool with 3 parameters and no output schema, the description covers key behavioral aspects. It could mention the return format (e.g., graph structure), but current level is sufficient.

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%, and the description adds meaning by explaining what the tool returns when include_resource_class is true (actual resource_class). This goes beyond the schema's parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns the job dependency graph (DAG) for a pipeline or workflow, which distinguishes it from sibling tools like get_bottlenecks or get_config.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides specific use cases: 'identify unnecessary serialization, missing requires, and executor sizing.' It does not explicitly list when not to use or alternative tools, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hidetaka-cci/advanced-circleci-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server