Skip to main content
Glama

Search GitDiagram's architecture diagrams

find_repository_diagrams
Read-onlyIdempotent

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.

Input Schema

TableJSON 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".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.