Skip to main content
Glama

pangea_enable_ai

Enable Shared AI for an HTTP project by injecting LLM and speech router environment variables into the app runtime without external API keys, with optional live rollout or token rotation.

Instructions

Enable Shared AI (LLM & Speech Router) for an HTTP project. Injects PANGEA_LLM_BASE_URL, PANGEA_LLM_API_KEY, PANGEA_LLM_MODEL (default 'gemma'; 'qwen' also selectable), PANGEA_SPEECH_BASE_URL, PANGEA_SPEECH_API_KEY, and PANGEA_AI_CA_PEM into the app runtime (and applies NetworkPolicy/pangea-ai) without external API keys. For Speech TTS, POST ${PANGEA_SPEECH_BASE_URL}/v1/jobs with Idempotency-Key and {kind:'tts', model:'qwen3-tts-custom-voice', input:{text, language, speaker}}.

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": {
      "project_id": "<project_id>"
    },
    "name": "pangea_enable_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoImmediately roll out changes on a live deployed app (default: true)
rotateNoRotate the project's Shared AI bearer token
project_idYesProject ID (prj_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the injected environment variables, NetworkPolicy/pangea-ai, operation without external API keys, and the default/selectable models, which is substantial; it does not mention permissions, idempotence, or rotate/apply side effects.

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?

Front-loads the purpose, then gives concrete injection and feature details. The TTS POST recipe is somewhat tangential to invoking the enable tool, but overall the description is compact and organized.

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 an enable tool with no output schema, it covers the main runtime effects and project scope well. It could say more about return/error behavior and token rotation, but the schema already covers the parameters.

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 100%, so the baseline is 3. The description does not add meaning to apply, rotate, or project_id, and the model-default note is not a parameter, so the schema remains the primary source for parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific verb 'Enable' and resource 'Shared AI (LLM & Speech Router)' for an HTTP project. The verb and resource distinguish it from pangea_disable_ai and pangea_get_ai, even though alternatives are not explicitly named.

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 explicit when-to-use guidance or alternatives are given. The 'For Speech TTS' sentence explains how to call the enabled feature, not when to choose this tool over pangea_disable_ai, pangea_get_ai, or other enable tools; usage is only implied by the name.

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