Skip to main content
Glama

pangea_create_session_token

Issue a project-scoped session launcher token (pga_ses_...) with least privilege for client apps, optionally setting project, TTL, or local directory.

Instructions

Issue a project-scoped session launcher token (pga_ses_...) with least privilege for client apps.

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_create_session_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
projectNoOptional project ID (prj_...) or project name
ttl_daysNo
directoryNoOptional local directory containing pangea.yaml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses genuine traits - project scoping, least-privilege issuance, and the token prefix - but omits how the token is returned (one-time display vs. stored/retrievable), whether it can be revoked, what the default TTL is, and whether the project defaults to a local pangea.yaml. For a security-sensitive token-minting tool, these are material gaps.

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; the scope qualifier and token prefix come first. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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?

Four parameters, no output schema, and no annotations mean the description must explain return shape and defaults. It does not say whether the returned token is shown once, what the TTL default is, or how `directory` interacts with `project` - all things an agent needs to invoke this correctly.

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?

Schema description coverage is 50%: `project` and `directory` are documented in the schema while `label` and `ttl_days` have only constraints. The description adds essentially nothing beyond the schema - it never explains what label is used for, what the TTL default is, or how the directory/pangea.yaml resolution works. It only restates project scoping, which the schema already covers.

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: 'Issue a project-scoped session launcher token', and even names the token prefix (pga_ses_...). This distinguishes it implicitly from the access-token siblings, but it never explicitly contrasts with pangea_access_token_create or pangea_create_session.

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?

'for client apps' hints at the intended use case, and 'least privilege' signals the security posture, but there is no explicit when-to-use vs. when-not guidance and no named alternative (e.g., access token vs. session token). The agent must infer the routing from sibling names 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