Skip to main content
Glama

Server Details

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
ahmedkhaleel2004/gitdiagram
GitHub Stars
17,517

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation4/5

find_repository_diagrams (search the library of repos that have diagrams) and get_repository_diagram (fetch the actual architecture of a specific repo) share the 'diagram' concept and could be misselected, but their descriptions clearly separate search/discovery from retrieval. get_explainer_video is unambiguously distinct. Minor overlap remains but it is manageable.

Naming Consistency5/5

All three tools follow a clean verb_noun pattern: find_repository_diagrams, get_explainer_video, get_repository_diagram. Consistent verb style (find/get) and snake_case throughout with no deviations.

Tool Count4/5

Three tools is on the lean side, but each covers a distinct read-only capability (search diagrams, fetch diagram, fetch video) for a narrow diagram-retrieval service. Well-scoped with no redundancy, though the surface is thin enough that it could feel sparse.

Completeness4/5

For a read-only diagram/video lookup service the core lifecycle is covered: discover repos, retrieve architecture, and get explainer video. The absence of any diagram-generation tool is acknowledged (it links to a browser page), which is a reasonable boundary rather than a dead end.

Available Tools

3 tools
find_repository_diagramsSearch GitDiagram's architecture diagramsA
Read-onlyIdempotent
Inspect

Search GitDiagram's library of ready-made architecture diagrams of public GitHub repositories by owner or repository name. Matches any part of "owner/repo" (e.g. "langchain", "vercel/", "react-native") and returns up to 10 repositories, most-starred first, each with its interactive diagram link. Use it to find a project's exact owner/repo from its name, or to list which repositories of an owner or topic already have diagrams. It searches repository names only, not code or file contents.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoHow many repositories to return (1–10, default 10).
queryYesPart of a repository's "owner/repo" name, e.g. "fastapi", "microsoft/", or "next.js".

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine behavioral detail beyond them: substring matching semantics against "owner/repo", a 10-result cap, most-starred-first ordering, and the fact that each hit carries an interactive diagram link.

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?

Four front-loaded sentences with no filler: purpose, matching semantics with examples, use cases, and the scope limitation. Each sentence contributes distinct information and the ordering puts the core capability first.

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 a two-parameter, no-output-schema search tool, the description covers purpose, matching semantics, ordering, result cap, returned artifact, and scope exclusions. Nothing an agent needs to invoke it correctly or interpret results is missing.

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 description coverage is 100%, so the baseline is 3, but the description adds matching behavior the schema does not state clearly: that any part of "owner/repo" is matched, with concrete example fragments ("langchain", "vercel/", "react-native"). The limit parameter's default and range are left to the schema, which handles them.

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 (Search) and resource (GitDiagram's library of architecture diagrams for public GitHub repos), with the searchable field (owner or repository name) made explicit. It is clearly distinguishable from siblings like get_repository_diagram, which fetches one diagram rather than searching.

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?

Gives two concrete use cases (resolving a project name to its exact owner/repo, and listing repos of an owner or topic that already have diagrams) plus an explicit exclusion: it searches names only, not code or file contents. It stops short of naming the sibling tool to use for retrieval, so it is clear but not fully routing.

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

get_explainer_videoGet a GitHub repository's explainer videoA
Read-onlyIdempotent
Inspect

Get GitDiagram's narrated explainer video of a public GitHub repository, if one has been made: the link to watch and share it, its title and length, and the full narration transcript, a plain-language walkthrough of what the project is for, what people do with it and how its main parts fit together. Use it when the user wants a video about a repository, something to watch or share instead of read, or a short spoken-style summary of a project. Read-only: it never makes a video; when none exists it says so and links the page where one can be made.

ParametersJSON Schema
NameRequiredDescriptionDefault
repositoryYesThe GitHub repository as "owner/repo" (e.g. "fastapi/fastapi") or any github.com URL inside it (e.g. "https://github.com/vercel/next.js/tree/canary/packages").

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, so the safety profile is covered. The description adds meaningful behavior beyond that: it enumerates the returned content (link, title, length, transcript) and discloses the negative case ('when none exists it says so and links the page where one can be made'), which is genuinely useful failure-path context.

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?

The purpose is front-loaded and each clause carries information (what it returns, when to use it, its read-only nature, the no-video fallback). It is a dense single paragraph that runs slightly long, but there is no filler sentence to cut.

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?

There is no output schema, so the description carries the return-value burden and does so by naming the link, title, length and transcript. Combined with the explicit negative case and the covered safety annotations, an agent has everything needed to call this correctly.

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% and the single 'repository' parameter already documents both the owner/repo form and accepted github.com URLs. The description adds no format or syntax detail beyond the schema, so the baseline 3 applies.

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 ('Get'), a specific resource ('GitDiagram's narrated explainer video of a public GitHub repository'), and the conditional nature of the result ('if one has been made'). It is clearly distinguishable from the diagram-related siblings find_repository_diagrams and get_repository_diagram.

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?

Gives explicit when-to-use triggers: the user wants a video, something to watch or share 'instead of read', or a spoken-style summary. The 'instead of read' phrasing implicitly routes away from the diagram siblings, but it never names them, so the alternative selection isn't fully spelled out.

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

get_repository_diagramGet a GitHub repository's architecture diagramA
Read-onlyIdempotent
Inspect

Get the architecture of a public GitHub repository from GitDiagram (gitdiagram.com): a written explanation of how the codebase is organized, its main components with the source paths they live in, how those components connect, and a Mermaid flowchart of the whole system, plus a link to the interactive diagram, where every component opens its code on GitHub. Use it whenever the user wants to understand, visualize, map or explain a GitHub repository's or open-source project's architecture, structure, main modules or data flow, wants an overview before reading unfamiliar code, or asks for an architecture or system diagram of a repo. Read-only and fast: it returns the diagram GitDiagram has already made. If none exists yet, it returns a link that makes one when opened in a browser. Public repositories only. In chat apps that show interactive views, the result also appears as a zoomable diagram whose components open their code on GitHub.

ParametersJSON Schema
NameRequiredDescriptionDefault
repositoryYesThe GitHub repository as "owner/repo" (e.g. "fastapi/fastapi") or any github.com URL inside it (e.g. "https://github.com/vercel/next.js/tree/canary/packages").

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: it returns a pre-generated diagram rather than generating one ('fast'), returns a make-on-open link when none exists, is limited to public repos, and renders a zoomable interactive view in chat apps. It omits any auth/rate-limit context, but for a public read tool the added behavioral detail is solid.

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?

The description is front-loaded with the core purpose and return contents, then layers on usage triggers, constraints, and the interactive-view detail. It is on the long side and a couple of clauses could be trimmed, but every sentence carries substantive information.

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?

With one required parameter, no output schema, and annotations covering the safety profile, the description fills the remaining gap by detailing what the response contains and what happens on the not-yet-generated path. An agent has everything needed to call it and interpret the result.

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% and the single 'repository' parameter's accepted formats (owner/repo or any github.com URL) are fully documented in the schema itself. The description adds no parameter-specific syntax or format guidance, so the baseline 3 applies.

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 states a specific verb and resource ('Get the architecture of a public GitHub repository from GitDiagram') and enumerates exactly what is returned: written explanation, components with source paths, connections, and a Mermaid flowchart. It is very clear what the tool does, though it never names or contrasts itself with the sibling find_repository_diagrams, so it stops short of full sibling differentiation.

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?

Usage context is stated richly: 'Use it whenever the user wants to understand, visualize, map or explain a GitHub repository's ... architecture' and 'wants an overview before reading unfamiliar code.' It also states a boundary ('Public repositories only') and a fallback path when no diagram exists. It does not, however, name an alternative tool or say when NOT to use this one versus find_repository_diagrams.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updates
    • First observedfind_repository_diagrams
    • First observedget_explainer_video
    • First observedget_repository_diagram

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.