Skip to main content
Glama

github_repo_languages

Read-only

Returns the language byte breakdown for a repository, sorted by bytes descending (tech fingerprint). owner: Repository owner (user or org login). repo: Repository name. Use github_repo_contributors to list a repository's contributors.

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_repo_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name.
ownerYesRepository owner (user or org login).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-dependency profile is covered. The description adds the meaningful behavioral detail of sort order ('sorted by bytes descending') and the notion of a tech fingerprint, but says nothing about authentication needs, rate limits, or behavior on empty/non-code repositories.

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 purpose clause is front-loaded and efficient, but two of the four sentences merely restate schema field descriptions, which is wasted text, and the trailing sibling pointer is tangential to this tool's job. It is short but not tight.

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?

An output schema exists, so return-value formatting need not be explained, and annotations carry the safety profile; for a simple two-parameter read tool this is close to sufficient. Only minor gaps remain, such as whether results are paginated or truncated for very large repos.

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%, and the description reproduces the owner and repo definitions nearly verbatim, adding no new meaning such as accepted formats, org-vs-user nuance, or case sensitivity. Per the baseline rule, a 3 is appropriate when the schema already carries full parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 — 'Returns the language byte breakdown for a repository, sorted by bytes descending' — which tells an agent exactly what data comes back and in what order. It does not, however, distinguish this from any sibling that might also surface repository metadata; the one sibling it names (github_repo_contributors) serves a different task, not a competing alternative.

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 implied by the stated behavior (use this to get language composition of a repo), but there is no explicit when-to-use or when-not-to-use framing. The closing pointer to github_repo_contributors is a redirect for an unrelated task rather than guidance on choosing between alternatives for the same need.

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.