Skip to main content
Glama

Import Public GitHub Repository

hokmah_connect_project
Idempotent

Imports a public GitHub repository so it can be analyzed: indexes its source files (.py .js .ts .jsx .tsx .rs .go .java) and its latest commits (up to 500) from the default branch into a dependency and change-history graph. repo_url is https://github.com//; branch is accepted for compatibility. A repository already imported is not imported again. Returns the project id and the number of commits and files ingested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNomain
repo_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and openWorldHint=true, so the agent knows this mutates state, is repeatable, and reaches an external service. The description adds useful behavior beyond that: the exact indexing scope (file extensions, commit cap of 500, default branch only) and the idempotency semantics in concrete terms. It doesn't state auth requirements or error/rate-limit behavior, which keeps it at 4.

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?

Four sentences, front-loaded with the core action and outcome, followed by parameter notes and the idempotency rule. Every sentence adds information; the only slight redundancy is mentioning both the file indexing and the return summary of files/commits, which is acceptable. No padding.

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?

A mutation tool with openWorldHint and idempotency covered by annotations plus description, two parameters fully explained despite zero schema coverage, and an output schema that handles return value documentation. The description covers what the agent needs to call it correctly, except for auth/rate-limit expectations on a tool that reaches GitHub.

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 0%, so the description must carry parameter meaning. It does this well: it specifies the exact repo_url format (https://github.com/<owner>/<repository>) and explains that branch is accepted only for compatibility and ignored in favor of the default branch. The one gap is that the schema's default value of 'main' for branch isn't reconciled with the description's claim that the default branch is used, which could confuse an agent about what branch actually controls.

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?

Specific verb (imports) + resource (public GitHub repository) + explicit scope: what gets indexed (source files by extension, latest commits up to 500 from the default branch). This level of detail lets an agent distinguish it from hokmah_analyze, which presumably operates on an already-imported project.

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 makes the when-to-use condition clear: you import first so the repo 'can be analyzed'. It also gives a re-use rule ('A repository already imported is not imported again'), which prevents unnecessary calls. It stops short of explicitly naming hokmah_analyze as the downstream step, so it's not a full 5.

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.