Skip to main content
Glama

github_repository_by_repo_url

Destructive

输入 GitHub 代码 URL 或搜索仓库关键词,拿到 GitHub 仓库信息(repository) 采集方式:通过仓库URL采集 示例参数:repo_url=https://github.com/TheAlgorithms/Python 必填参数:repo_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": {
      "repo_url": "<repo_url>"
    },
    "name": "github_repository_by_repo_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYes仓库URL:该参数用于指定要采集的仓库 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 frames the tool purely as 'getting' repository info, saying nothing about what it writes, what the 'Builder 输出文件名' artifact is, or whether repeated calls are safe. With a destructive annotation the description should carry this burden and instead leaves a read-vs-write tension unexplained. No permission or rate-limit context is offered either.

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 definition is short and front-loads the resource, but it is formatted as unlabeled fragments ('采集方式', '示例参数', '必填参数') and repeats the required-parameter fact that the schema already enforces. The leading clause about keyword search is wasted text that actively introduces confusion.

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 tool annotated as destructive and open-world, with a second parameter that names an output file and no output schema, the description omits everything an agent needs to call it safely: what is produced or overwritten, what file_name does, and whether the operation is repeatable. What remains is essentially the schema restated.

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% and both parameters are described there, so the baseline is 3. The description's only added value is a concrete example URL for repo_url that shows the expected format. The file_name parameter and its {{TasksID}} default are never mentioned, so no extra meaning is added for the secondary parameter.

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 the resource (GitHub repository info) and the acquisition method (via repo URL), plus a concrete example URL, so the core purpose is recoverable. But the opening clause also promises 'search repository keywords,' which blurs it against the sibling github_repository_by_search_url and contradicts the fact that repo_url is the only required field. The agent must resolve this ambiguity itself.

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?

'采集方式:通过仓库URL采集' plus the example gives a weak implied condition (use when you already have a repo URL), and there is an example invocation. There is no statement of when NOT to use it, no pointer to the keyword-search sibling despite alluding to keyword search, and no prerequisites. Guidance is barely above absent.

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