Skip to main content
Glama

get_repository

Fetch metadata for a GitHub repository by providing owner and repo names. Read-only operation ensures secure inspection.

Instructions

Get metadata for one GitHub repository. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are present, so the description must disclose behavior itself. It explicitly states 'Read-only', which is a valuable safety trait for an agent selecting the tool. For a simple metadata read, this covers the main behavioral concern, though it omits auth or rate-limit details.

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?

Two short clauses totaling seven words. Every word earns its place; no filler, redundancy, or required context is buried.

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 tool is simple and an output schema exists, so return details need not be in the description. However, missing usage guidance and parameter elaboration create gaps; it is minimally viable but not thoroughly complete.

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 has no descriptions (0% coverage) and the tool description does not explain owner/repo formats or validation. Although the parameter names are intuitive, the description fails to compensate for the complete lack of schema-level documentation.

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?

Description states verb 'Get' and resource 'metadata for one GitHub repository', clearly distinguishing from sibling list_repositories which would fetch multiple. It's specific and unambiguous.

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

Usage Guidelines2/5

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

No direct when-to-use or when-not-to-use guidance. The word 'one' implies a single repository but no alternative is named (e.g., use list_repositories for all repos), leaving the decision partly implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vatsal212005/ContextBridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server