Skip to main content
Glama

Sync Github

sync_github
Destructive

Import or refresh one GitHub text file for Support only, Sales only, or Both agents. Use scan_github and import_github_files to scan a repository and choose multiple files. Review the complete text for confidential information before approval. Every refresh removes approval. Pass sourceId to bind refresh to the existing source; its audience is preserved when omitted.

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>",
      "path": "<path>"
    },
    "name": "sync_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
repoYes
channelNosupport
sourceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Against annotations that already flag destructive and open-world behavior, the description adds real operational consequences: every refresh removes approval, the existing audience is preserved when sourceId is omitted, and the full text should be reviewed before approving. What it omits is whether the imported content replaces or supplements prior content for a non-refresh import, which matters for a destructive tool.

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?

Five tight sentences, front-loaded with what the tool does, then multi-file alternatives, then approval and refresh consequences. Every sentence carries either routing or behavioral information; nothing is redundant with the title or schema.

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

Completeness4/5

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

For a 4-parameter destructive import with no output schema, the description covers mutation risk, approval invalidation, audience defaults, and sibling routing. The remaining gap is the expected format of repo (owner/name) and any constraints on path, which the schema does not supply either.

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

Parameters5/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 the load, and it does: channel is explained as support-only, sales-only, or both; sourceId is explained as binding a refresh to an existing source with audience preservation on omission; repo and path are self-evident from their names in this domain.

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 opens with a specific verb and resource ("Import or refresh one GitHub text file") and bounds scope to a single file and three audience settings. It names import_github_files and scan_github as the multi-file path, so an agent can distinguish this tool from its siblings without reading schemas.

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

Usage Guidelines4/5

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

It gives explicit routing: use scan_github and import_github_files when the job is scanning a repo and choosing multiple files, and pass sourceId when refreshing an existing source. The when-not case is implied rather than stated, and no prerequisites (auth, repo format) are given, so it falls just short of a 5.

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