Skip to main content
Glama

Scan Github

scan_github

Scan a GitHub repository at a pinned default-branch commit and list eligible text and source-code files. Does not import or execute repository code. Private repository access is checked against the brand’s server-owned allowlist.

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": "<repo>"
    },
    "name": "scan_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes
channelNosupport

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations set readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is already declared; the description adds genuinely non-structured context by stating no repository code is imported or executed, and that private repo access is gated by a brand-owned server-side allowlist. It does not explain what the non-read-only side effect actually is, nor anything about result size or pagination, so it stops short of full disclosure.

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

Conciseness5/5

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

Three short sentences, each carrying distinct information — capability, non-behavior, and access rule — with the core operation front-loaded. Nothing is redundant with the title or padding.

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?

The description tells the agent what the tool returns at a high level (eligible text and source-code files) and how access is gated, which is reasonable given there is no output schema. However, for a tool with an undocumented required parameter and an undocumented enum, the definition leaves the invocation details unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema description coverage is 0% and the description compensates for neither parameter: it never says whether 'repo' expects an owner/name slug or a URL, nor what 'channel' (support/sales/both) scopes. With a 2-parameter schema that is entirely undocumented, the description's silence leaves real ambiguity for the caller.

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 names a specific verb and resource ('Scan a GitHub repository') and pins the scope precisely: 'at a pinned default-branch commit and list eligible text and source-code files.' The clause 'Does not import or execute repository code' actively separates it from the import-style sibling tools, so an agent can tell scan-and-list apart from import.

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

Usage Guidelines3/5

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

Usage is only implied — one can infer this is the pre-flight listing step before importing GitHub files, but no sibling is named and there is no explicit 'use this when…' or 'do not use this for…' statement. The agent must infer the scan-then-import workflow from the negative clause alone.

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