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 .vue .mjs .mts .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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo_url": "<repo_url>"
    },
    "name": "hokmah_connect_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNomain
repo_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, openWorld=true, idempotent=true, destructive=false), the description discloses what actually gets ingested (specific file extensions, up to 500 commits, default branch), the no-op behavior for already-imported repos, and the shape of the response (project id plus commit and file counts). That is meaningful behavioral context the agent could not infer from structured fields.

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 action and then layers in constraints, with no filler sentences. The file-extension enumeration is dense but earns its place by telling the agent what will and will not be indexed.

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 import tool with an output schema already present, the description covers ingestion scope, edge-case behavior, parameter formats, and a return summary. Nothing an agent needs in order 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the full burden and mostly delivers: it gives the exact `repo_url` format (https://github.com/<owner>/<repository>) and clarifies that `branch` is only accepted for compatibility, implying commits come from the default branch. The role of `branch` is still slightly ambiguous—an agent cannot be fully certain it is ignored.

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 states a specific verb ('Imports') and resource ('public GitHub repository') and scopes the action: indexing source files with an explicit extension list plus up to 500 commits into a dependency/change-history graph. It also implicitly separates this from the sibling hokmah_analyze by framing the tool as the import step that precedes analysis.

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?

It makes the usage context clear (import first so the repo can be analyzed) and warns that an already-imported repository will not be re-imported, which prevents a redundant call. It does not explicitly name hokmah_analyze as the follow-up or state exclusions (e.g., private repos), so it falls short of full when/when-not 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.