Skip to main content
Glama

Generate Repository Readme Tool

generate-repository-readme

Use this when the user asks to generate or refresh a README for an imported repository. After authorization, this state-changing action consumes AI credits, creates a generation, and can save it to a Space; it requires the numeric repository_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
licenseNoOptional license value for the README; required when sections includes License.
filenameNoOptional generation history filename. Defaults to README.md plus the repository name.
languageNoOptional human language for the generated README. Defaults to English.
sectionsNoOptional README sections to include, such as Introduction, Features, Requirements, Installation, Usage, Configuration, Contributing, or License.
repository_idYesRequired numeric ID of an already connected/imported repository from the user repository records; do not pass a slug, URL, provider name, or Space repository-link ID.
save_to_spaceNoOptional destination Space page to create from the generated README after authorization. The authenticated user must manage the Space.
additional_instructionsNoOptional customer instructions for README tone, scope, installation focus, examples, or project-specific emphasis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The description explicitly says the action is state-changing, creates a generation, consumes AI credits, and may save to a Space, which complements the readOnlyHint=false annotation. It does not mention rate limits, but that is not critical for this tool; the main side effects are disclosed.

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?

The description is fairly compact and front-loaded with the main purpose, then covers side effects and key parameter constraints. A few phrases such as 'After authorization, this state-changing action' are slightly redundant with the annotations, but overall it is well-structured and not verbose.

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?

The description gives enough context for the intended behavior and important constraints, including authorization, credit consumption, and the optional Space destination. Since there is no output schema, it does not need to explain return values, but it could have noted what the caller should expect back (e.g., a generation object) for fuller completeness.

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?

Every parameter in the schema is described, and the description adds crucial guidance beyond the schema: repository_id must be a numeric ID and not a slug/URL/provider name/Space link, save_to_space requires the user to manage the Space, and sections are given example values. This significantly clarifies correct usage.

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 clearly states a specific action (generate or refresh a README) and the resource (an imported repository), and explicitly notes it consumes AI credits and can save to a Space. This distinguishes it from sibling tools like generate-repository-documentation or generate-codebase-documentation.

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 provides a clear 'use this when' trigger and mentions the authorization requirement, but does not explicitly contrast with sibling generation tools. The phrase 'imported repository' helps scope usage, though a direct 'use X instead for Y' would be stronger.

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