Skip to main content
Glama

github_repository_by_search_url

Destructive

输入 GitHub 代码 URL 或搜索仓库关键词,拿到 GitHub 仓库信息(repository) 采集方式:通过搜索URL采集 示例参数:search_url=https://github.com/search?q=ML&type=repositories 必填参数:search_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": {
      "search_url": "<search_url>"
    },
    "name": "github_repository_by_search_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_numNo最大仓库数量:该参数用于指定采集的最大仓库数量。
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}
search_urlYes搜索URL:该参数用于指定要采集的Search URL。
page_turningNo页数限制:该参数用于指定采集结果数量的限制(请输入页数)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the behavior bar is lower here. The description adds essentially nothing beyond restating the collection method ('通过搜索URL采集') and the required parameter; it does not mention rate limits, crawl scope, or what happens to existing output files, which matters for a destructive-labelled collector.

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 outcome, but '采集方式:通过搜索URL采集' and '必填参数:search_url' merely restate structured fields. Only the example URL sentence pulls real weight.

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

Completeness3/5

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

For a four-parameter crawler with no output schema, the description is minimally viable: it explains the input URL shape but says nothing about pagination behavior, result volume, or output file handling that an agent would need to call it confidently. Schema coverage compensates for the parameter gaps, keeping this at adequate rather than poor.

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 description coverage is 100%, so the schema already documents search_url, max_num, page_turning and file_name. The description adds only a concrete example search URL and a redundancy about the required parameter, which is mildly useful but not substantive compensation.

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 says it retrieves GitHub repository information via a search URL, which gives a verb and resource. However, the opening phrase '输入 GitHub 代码 URL 或搜索仓库关键词' (input a GitHub code URL or search repository keywords) muddies this by suggesting two different input modes, and there is no attempt to distinguish it from sibling tools such as github_repository_by_repo_url or github_repository_by_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?

The description only states that search_url is required and shows one example URL. It gives no guidance on when to use this crawler versus the repo-URL or plain-URL siblings, and no exclusions or prerequisites are mentioned.

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