Skip to main content
Glama

Import Github Files

import_github_files
Destructive

Import selected files from a scan_github preview as complete unapproved drafts, split into sources when needed. Reads immutable verified blobs and saves the whole selection atomically within account/brand limits. Review before exact-revision approval.

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": {
      "scanId": "<scanId>",
      "paths": "<paths>"
    },
    "name": "import_github_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
scanIdYes
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 already declare a destructive, open-world write, and the description adds meaningful context on top: results land as unapproved drafts (not published content), blobs read are immutable and verified, the save is atomic, and account/brand limits apply. It does not state what happens on partial limit overflow beyond 'atomically', but the added behavioral detail clearly exceeds what the annotations convey.

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?

Three tightly packed sentences with the core action and safety framing front-loaded. Jargon such as 'immutable verified blobs' and 'exact-revision approval' adds density but each clause carries real information.

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?

A destructive, no-output-schema mutation tool with three undocumented parameters demands more than this. Behavior around drafts, atomicity, and limits is well covered, but the channel parameter and enum semantics remain entirely unexplained, which is a real gap for correct invocation.

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?

With 0% schema description coverage, the description must carry parameter meaning. It implies scanId (from the scan_github preview) and paths (the 'selected files'), but never explains the channel enum (support/sales/both) or the 100-item path cap, leaving a quarter of the parameters opaque.

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?

States a specific verb (import), a specific resource (selected files from a scan_github preview), and the resulting artifact (complete unapproved drafts). The mention of scan_github makes it clearly distinguishable from siblings like scan_github and sync_github.

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?

Implies the prerequisite that a scan_github preview must exist and advises 'Review before exact-revision approval', which is real usage context. However, it never contrasts itself with sync_github, import_website, or add_knowledge, so an agent gets implied but not explicit routing guidance.

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