Skip to main content
Glama

Diagram a repository

start_parse

Clone a GitHub repository and parse its infrastructure-as-code into an architecture diagram, returning a graphId to poll for status. Check list_diagrams first to reuse existing diagrams.

Instructions

Ask ArcSync to clone a GitHub repository and parse its infrastructure-as-code (Terraform, CloudFormation, AWS CDK, Pulumi, Azure ARM, Serverless Framework) into a diagram. Returns a graphId at once; poll get_parse_status until it completes, then call get_diagram. Uses one parse from the workspace's monthly quota (CDK and Pulumi also use a server-side synth), so call list_diagrams first and reuse a diagram that already exists. Private repositories need the ArcSync GitHub App installed.

Input Schema

NameRequiredDescriptionDefault
pathNoSubdirectory holding the IaC, when it is not at the repository root.
branchNoDefaults to the repository's default branch, or main when ArcSync cannot look it up. Pass it when you know it.
repoUrlYeshttps://github.com/owner/repo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false; the description adds the async contract (returns a graphId at once), quota consumption per call, extra server-side synthesis for CDK and Pulumi, and the private-repo auth prerequisite. These are real operational costs an agent cannot infer from structured fields, and they are consistent with the non-idempotent, non-destructive annotations.

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?

Three sentences, no filler, with the purpose front-loaded and the cost/workflow caveats following. The long parenthetical format list and chained clauses in the first sentence make it slightly dense, but every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an asynchronous, quota-consuming creation tool with no output schema, the description explains what is returned immediately (graphId), how to follow up, and the preconditions around quota and repository access. Nothing an agent needs to invoke it correctly is missing.

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 repoUrl, path, and branch are already documented in the schema, and the description adds no further parameter-level detail such as URL validation behavior or how path interacts with monorepo layouts. A baseline 3 is appropriate when the schema carries the parameter burden.

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?

States a specific verb and resource ('clone a GitHub repository and parse its infrastructure-as-code ... into a diagram') and enumerates the supported IaC formats. It is immediately distinguishable from siblings like list_diagrams and get_diagram, which consume rather than create diagrams.

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

Usage Guidelines5/5

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

Gives an explicit ordered workflow: poll get_parse_status until complete, then call get_diagram. It also names a when-not condition — call list_diagrams first and reuse an existing diagram — plus the constraint that private repositories require the ArcSync GitHub App.

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