Skip to main content
Glama

github_repository_by_url

Destructive

输入 GitHub 代码 URL 或搜索仓库关键词,拿到 GitHub 仓库信息(repository) 采集方式:通过URL采集 示例参数:url=https://github.com/TheAlgorithms/Python/blob/master/divide_and_conquer/power.py 必填参数:url

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": {
      "url": "<url>"
    },
    "name": "github_repository_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL:该参数用于指定要采集的代码URL。
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, yet the description presents the tool as a plain fetch of repository information and never explains the write/side-effect implied by the destructive annotation. It also omits any mention of authentication, rate limits, or how the collected data is delivered, even though the schema hints at a Builder output file.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the main purpose, but the closing "必填参数:url" merely restates the schema's required array and is wasted space. The example URL does earn its place; the rest is terse to the point of under-specification.

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

Completeness2/5

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

For a two-parameter scraper with no output schema and aggressive annotations (destructive, open-world), the description should explain the returned repository payload and the side-effect/output-file behavior. Neither is covered, and the search-keyword claim contradicts the URI-only parameter, leaving an agent without enough to call it confidently.

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 coverage is 100%, so both parameters are already documented; the description adds only a concrete example URL, which is mildly useful. It says nothing about how the url should reference a blob/code path versus a repository root, and nothing about file_name, so it does not go beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a clear resource (GitHub repository info) and a verb (retrieve/collect), which is understandable on its own. However, it muddies the purpose by claiming it also works with "search repository keyword" even though the only required parameter is a URI, and it never distinguishes itself from the sibling tools github_repository_by_repo_url and github_repository_by_search_url.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus the near-identical siblings (by_repo_url, by_search_url), nor on prerequisites or valid URL forms beyond a single example. The only routing signal is that the parameter must be a code URL, which the schema already enforces.

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.

Resources