Skip to main content
Glama

github_token

Get a token for ONE linked repository, valid at most one hour, to git clone and push. Needs an approved github.repo.write (or github.repo.read for access=read) on that repository. The token is limited to that repository: contents and pull requests, never workflow files, other repositories or settings. Use it only for git over HTTPS, never write it in a file, a log or a document, and call again when it expires. Fileaify keeps the GitHub App key.

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": {
      "project_id": "<project_id>",
      "repo_id": "<repo_id>"
    },
    "name": "github_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessNo
repo_idYes
project_idYes
result_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) by disclosing the maximum one-hour lifetime, the exact permission envelope (contents and pull requests, never workflow files, other repositories or settings), re-issuance on expiry, and credential-handling rules (never in a file, log or document). It also notes that the caller never holds the GitHub App key, which clarifies the trust model.

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?

Front-loads the core action and scope in the first sentence, then layers permission prerequisite, limitations and credential hygiene in order of importance. Dense but nearly every clause earns its place; the text is on the long side for a four-parameter tool, and 'Fileaify' appears to be a product-name typo.

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 credential-minting tool with no output schema, it covers lifetime, scope boundaries, prerequisites and safe handling, which is the critical information an agent needs before calling. It does not indicate the shape of the returned token or how the result is bound to result_offset, leaving a small gap.

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 0% across 4 parameters, and the description only partly compensates: it explains the access enum semantics indirectly ('github.repo.read for access=read') and the repo/project pairing via 'ONE linked repository'. result_offset is never mentioned, and there is no hint about expected format for project_id or repo_id.

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 and resource ('Get a token for ONE linked repository') plus the intended downstream use ('to git clone and push'), which cleanly separates it from siblings like export_secret, use_secret, read_repositories and request_repository. The capitalized 'ONE' and the explicit validity window make the scope unambiguous.

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?

Gives concrete preconditions ('Needs an approved github.repo.write (or github.repo.read for access=read) on that repository') and a hard usage constraint ('Use it only for git over HTTPS') plus the lifecycle rule ('call again when it expires'). It does not explicitly name which sibling to call instead when approval is missing (e.g. request_access vs request_repository), so it stops short of full alternative routing.

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