Skip to main content
Glama
FirstCommit — Your First Step into Open Source

FirstCommit — Your First Step into Open Source

generate_contribution_plan

Builds a step-by-step GitHub contribution plan from repository metadata, README docs, and issue details, covering code location, testing, and PR preparation.

Instructions

Generate a practical, step-by-step contribution roadmap grounded in real GitHub repository metadata, README documentation, and issue details. Covers understanding the problem, locating documentation, finding relevant code without inventing file paths, reproducing, testing, and preparing a PR.

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": {
      "repo_url": "<repo_url>",
      "issue_number": "<issue_number>"
    },
    "name": "generate_contribution_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYesA public GitHub repository URL (e.g. https://github.com/owner/repo) or owner/repo identifier (e.g. owner/repo)
issue_numberYesThe issue number to generate a contribution plan for
user_profileNoOptional user profile to tailor the steps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full behavioral burden. It does disclose that output is grounded in real metadata rather than fabricated paths, which is a genuinely useful behavioral claim, and it sketches the plan's contents. But it omits whether the tool is read-only, whether it makes live GitHub API calls (and any rate limits or auth needs), what happens on invalid/private repos or closed issues, and how long the output typically is.

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?

Two sentences, front-loaded with the purpose, then a compact enumeration of the phases covered. Dense with little waste, though the second sentence is a long list that could be trimmed slightly without losing information.

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?

With no output schema, the description's phase list does double duty as an implicit description of the returned plan, which is helpful for a 3-parameter, nested-object tool. It still leaves gaps around output shape, size, error behavior, and its relationship to the sibling lookup tools an agent must otherwise chain.

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%, including nested user_profile fields, so the baseline is 3. The description adds nothing about parameters — it never mentions that user_profile tailors the steps (languages, experience_level, open_source_experience) or how repo_url vs issue_number interact. No compensation is required, but no extra meaning is contributed.

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?

States a specific verb ('Generate') and a concrete artifact ('step-by-step contribution roadmap') and grounds it in named data sources (repo metadata, README, issue details). It is clearly the composite/aggregate tool relative to siblings like get_readme or get_issue_details, though it never names those siblings or states the relationship explicitly.

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?

The enumerated phases (understanding the problem, locating docs, reproducing, testing, preparing a PR) imply the situation in which to use it, and the mention of 'relevant code without inventing file paths' hints it is meant to supersede ad-hoc browsing. However there is no explicit when-to-use vs. when-not guidance, no prerequisites (e.g. must be a public repo, issue must exist), and no pointer to analyze_issue_suitability as the companion/alternative.

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