Skip to main content
Glama

pangea_access_token_create

Create an access token for a Pangea project, directory, workspace, or GitHub repository preview, with an optional expiration period.

Instructions

Create an access token (pga_acc_...) for a project or repo preview default.

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": {
      "label": "<label>"
    },
    "name": "pangea_access_token_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
projectNo
directoryNo
workspaceNo
expires_in_secondsNo
github_repository_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses the token string prefix, which is useful, but says nothing about whether the token is shown only once, what scopes it inherits, the default expiry, or whether creating a credential is sensitive/auditable.

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?

A single front-loaded sentence with no filler, though the trailing 'repo preview default' clause is the least informative part and could be replaced with scope or expiry detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a credential-minting tool with no annotations, no output schema, and six undocumented parameters, the description is far too thin; an agent cannot tell what scope the new token gets or when it expires.

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

Parameters2/5

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

Six parameters with 0% schema description coverage and the description explains none of them. It hints at project and repository targeting, but says nothing about label, workspace, directory, or the 60s–1yr expires_in_seconds bounds, so the undocumented half is left to name-guessing.

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 and resource ('Create an access token') and adds the token prefix format (pga_acc_...), which helps distinguish it from pangea_create_session_token. The trailing phrase 'for a project or repo preview default' is ambiguous and muddies rather than sharpens the scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus pangea_create_session_token, pangea_access_default_set, or the access get/set siblings. The reader must infer the distinction from the tool name alone.

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