Skip to main content
Glama

product_connect_repo

Connects a repository the GitHub App can see to a Product. Every push to the production branch then builds and deploys, recorded as triggered by the push. Private repositories are cloned with a short-lived token that is never stored.

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": {
      "productId": "<productId>",
      "installation_id": "<installation_id>",
      "repo_id": "<repo_id>"
    },
    "name": "product_connect_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
repo_idYesFrom github_repo_list.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.
installation_idYesFrom github_repo_list.
production_branchNomain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With readOnlyHint=false, destructiveHint=false and idempotentHint=false already supplied, the description does add real value: the persistent effect (builds/deploys on every push, attributed to the push) and the security posture (short-lived clone token, never stored). It stops short of saying whether the connection can be re-pointed, whether disconnecting is possible via a sibling, or that this is a mutating operation where the confirm/dry_run workflow applies.

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 tight sentences, front-loaded with what the tool does before the operational consequence and security note. Every sentence earns its place; minor deduction for folding two distinct ideas (deploy trigger and token handling) into one sentence without separation.

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?

For a 7-parameter mutation with no output schema, the description covers purpose, ongoing behavior and the private-repo credential model, and the annotations plus a rich schema handle safety and parameters. It is slightly thin on what the caller gets back (connection/build identifier, deployment record) and on the dry_run-first expectation that the schema recommends.

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 coverage is 86%, so the schema already explains confirm, dry_run, idempotency_key and the id sources. The only added meaning is the phrase 'production branch', which loosely maps to the production_branch parameter and its 'main' default, but the description gives no defaults, format hints, or guidance on choosing a branch.

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 ('Connects a repository ... to a Product') and states the downstream consequence ('every push to the production branch then builds and deploys'). An agent can tell this is a repo-to-product wiring operation, but nothing distinguishes it from sibling deploys like deployment_get or build_queue_get beyond the object it touches.

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 only implied: the agent must infer that this is the step after github_repo_list returns an installation_id/repo_id. There is no explicit when-to-use, no when-not-to-use, and no mention of prerequisites such as the GitHub App needing to already see the repo (only hinted at by 'the GitHub App can see').

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