Skip to main content
Glama

pangea_ci_oidc_set

Enroll or update a GitHub repository for keyless GitHub Actions OIDC without manual secrets; use local gh auth proof when enabled without exposing the token in chat.

Instructions

Self-service enroll or update a GitHub repository for Keyless GitHub Actions OIDC (PANGEA_OIDC=1) without manual secrets. Reads local GitHub admin proof via gh auth token when use_gh_auth is true without exposing it in chat.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pangea_ci_oidc_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNoGitHub repository <owner>/<name> (inferred from directory origin git remote when omitted)
enabledNoWhether OIDC token exchange is enabled (default: true)
allow_prNoAllow pull_request OIDC token exchange (default: true)
directoryNoOptional local git repository directory to infer owner/name
workspaceNoOptional target workspace ID (ws_...)
project_idNoOptional HTTP project ID (prj_...) or name to link to this repository
use_gh_authNoUse local `gh auth token` as GitHub admin proof (default: true on initial enrollment)
repository_idNoNumeric GitHub repository ID (auto-resolved from GitHub when use_gh_auth or github_token_file is provided)
allowed_branchesNoAllowed push/workflow_dispatch branch names (e.g. ['main'])
github_token_fileNoOptional chmod-0600 file containing a GitHub admin token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important trait: the tool reads a local GitHub admin token via `gh auth token` and keeps it out of chat. It omits other behavioral facts an agent needs for a config mutation — required permissions, whether it is an upsert that overwrites existing OIDC settings, failure behavior, and what it returns.

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 action and scope, with the credential mechanism second. Wording is dense but every clause carries information; "Self-service" is the only mildly redundant token.

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?

For a 10-parameter configuration tool with no annotations and no output schema, the description covers purpose and credential sourcing but leaves the relationships among workspace, project_id, and directory inference unexplained, and says nothing about prerequisites or effects on existing configuration.

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% across all 10 parameters, so the schema already documents repo inference, enabled/allow_pr defaults, directory, workspace, project_id, and token sources. The description only restates the `use_gh_auth` behavior already described in the schema, adding no new meaning about parameter interplay.

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 pair (enroll/update) and resource (GitHub repository for Keyless GitHub Actions OIDC with PANGEA_OIDC=1), which is concrete enough for an agent to distinguish this from the delete/list siblings. It stops short of explicitly naming which sibling to use for listing or removal, so differentiation relies on contextual inference.

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?

"Self-service enroll or update" implies the situation (bootstrapping or refreshing OIDC for a repo without manual secrets), and the second sentence explains the `use_gh_auth` route. However, there is no explicit when-not guidance and no pointer to pangea_ci_oidc_list/delete or the alternative credential paths (github_token_file vs disabled OIDC).

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