Skip to main content
Glama

pangea_set_project_repository

Link or unlink a GitHub repository ID on an existing Pangea app project as the workspace owner, enabling repository association or cleanup.

Instructions

Set or clear the linked GitHub repository ID on an existing app project (workspace owner only).

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": {
      "github_repository_id": "<github_repository_id>"
    },
    "name": "pangea_set_project_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
github_repository_idYesNumeric GitHub repository ID (> 0) to link, or null to unlink

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden, and it does disclose the workspace-owner authorization requirement and that the target project must already exist. It is silent on what happens with an invalid or already-linked repository ID, whether the change affects running deployments, and what the response contains — meaningful gaps for a mutation tool with zero annotation coverage.

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?

A single sentence, front-loaded with the action and resource, that also carries the permission scope in a parenthetical. Nothing is wasted and nothing essential is buried.

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 three-parameter mutation with full schema descriptions, the definition covers action, target, permission scope, and the null-unlink case. The remaining hole is the absence of any indication of what the call returns or how failures surface, which matters somewhat because no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all three parameters are already documented in the schema, including the 'null to unlink' semantics of github_repository_id; the description's 'set or clear' phrasing mirrors rather than extends that. The baseline of 3 applies, nudged up slightly because the description confirms the unlink behavior at the top level rather than only in the field description.

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 gives a specific verb pair ('Set or clear') and a precise resource ('the linked GitHub repository ID on an existing app project'), which an agent can distinguish from the pangea_set_* siblings that touch alias, autoscaling, resources, or secrets. It does not, however, explicitly route away from any named alternative such as pangea_create_project, which might also accept a repo ID.

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?

It supplies a real prerequisite — the project must already exist, and the caller must be the workspace owner — plus the 'clear' case implied by unlinking. There is no explicit when-to-use versus when-not guidance and no mention of alternatives for attaching a repository at creation time, so usage is only implied.

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

Deploy Server

Other Tools