view_repo
View repository basic information and its directory structure. Includes corresponding documentation repo if available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the repository (owner/name) |
View repository basic information and its directory structure. Includes corresponding documentation repo if available.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the repository (owner/name) |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Input schema / properties / name / patternAdded value: +"^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It mentions inclusion of documentation repo but lacks details on read-only nature, permissions, error handling, or side effects. More transparency needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences that efficiently convey purpose and a key behavioral trait. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a simple tool with one parameter and no output schema, but could be more specific about what 'basic information' includes and what the directory structure output looks like.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline 3. Tool description does not add any additional meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states verb 'View' and resources 'repository basic information' and 'directory structure', and distinguishes from siblings by mentioning documentation repo inclusion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like list_tree or search_repos. The description does not provide any usage context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool has a clear, distinct purpose: listing directory trees, reading source code, searching code, searching repositories, and viewing repository info. No overlaps.
All tool names follow a consistent verb_noun pattern (list_tree, read_code, search_code, search_repos, view_repo), making them predictable.
With 5 tools, the server is appropriately scoped for code reading and searching tasks, neither too sparse nor overloaded.
Covers key read operations like directory listing, code retrieval, code search, repo search, and repo info. Minor gaps: no file metadata or commit history, but core functionality is solid.