Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
traecn_send_messageA

Submit one user instruction to TraeCN as durable background work and return its stable taskId immediately; the gateway owns queueing, retries, recovery, and result persistence. Use this for every delegated coding request, optionally targeting an existing conversation via conversationId. Do not send follow-up messages to probe progress — track the returned task instead.

traecn_get_taskA

Read one known gateway task by ID: status plus final result, or the full execution trace with detailLevel 'trace' for diagnosis. Call once when notified of completion or once later when resuming after a disconnect. Not a progress primitive — do not poll in a tight loop.

traecn_cancel_taskA

Cancel one gateway-tracked task by ID. The gateway stops shepherding the work at its next control point and records the cancellation; results already produced remain in task history. Returns the task identity and post-cancellation status.

traecn_stop_generationA

Stop only the generation currently visible in the named active TraeCN conversation. Visible output may belong to the user or another agent, so this requires acknowledgeUntrackedWork=true plus an audit reason. Prefer cancel_task whenever a gateway task ID exists.

traecn_open_workspaceA

Open one absolute local folder path as the active TraeCN workspace and verify it became active before returning. Call before submitting work that depends on a specific project; afterwards do not repeat the path inside the task message.

traecn_list_modelsA

List the model names currently offered in the TraeCN UI together with the currently selected model. Read-only discovery; call before select_model whenever the model choice matters.

traecn_select_modelA

Select one model by exact name from traecn_list_models and confirm the picker state before returning. Selecting the already-active model succeeds as a no-op. Does not wait for model availability or capacity.

traecn_select_modeA

Switch TraeCN between Solo and IDE mode and confirm the resulting active mode. Switching to the current mode succeeds as a no-op. Call only when the requested mode differs.

traecn_list_setting_sectionsA

List the settings sections currently visible in TraeCN's settings UI. Required first step for any settings operation; never guess a section name.

traecn_list_settingsA

List the individual settings and their control types within one section returned by traecn_list_setting_sections. Read-only discovery preceding any setting mutation; never guess a label.

traecn_list_setting_optionsA

List the visible choices of one dropdown-style setting identified by section and label. Required before select_setting_option; never invent an option value.

traecn_set_setting_toggleA

Enable or disable one toggle setting identified by section and label, then read back the applied state. Applying the already-current state succeeds as a no-op.

traecn_select_setting_optionA

Select one previously listed option for a dropdown setting identified by section and label, and confirm the applied selection. Only values returned by traecn_list_setting_options are valid.

traecn_set_setting_textA

Enter one text value into the setting field identified by section and label, and confirm what the field contains afterwards.

traecn_list_conversationsA

List the conversations available in the current TraeCN mode with stable identifiers accepted by conversation-scoped tools. Read-only; call when choosing or verifying conversation context.

traecn_create_conversationA

Create a new TraeCN conversation and make it the active target. Every call creates an additional conversation, so call at most once per genuinely new context. Returns the created conversation identity.

traecn_select_conversationA

Make one existing conversation the active target for subsequent visible interaction. Returns the confirmed active conversation identity.

traecn_delete_conversationA

Permanently delete one inactive TraeCN conversation by stable identifier. Requires the exact expectedTitle returned by traecn_list_conversations plus an explicit irreversible-deletion acknowledgement; there is no gateway recovery path.

traecn_answer_questionA

Resolve an exceptional question from TraeCN that the gateway could not handle mechanically by supplying the user's decision. The gateway routes the answer to the pending visible prompt and reports the outcome. Only call when a pending interaction exists.

traecn_decide_approvalA

Approve or deny the unsafe or ambiguous command card currently visible in TraeCN. Approval revalidates the exact expectedCommand against the card and requires acknowledgeRisk plus an audit reason recorded locally; denial needs only the decision. Never approve beyond the scope the user authorized.

Prompts

Interactive templates invoked by user choice

NameDescription
traecn_layered_commandBuilds a layered prompt for precise TraeCN app control.
traecn_skill_authoringCreates a concise, progressively disclosed skill plan for extending TraeCNclaw.

Resources

Contextual data attached and managed by the client

NameDescription
layered-architectureLayer order, capability model, and extension rules for TraeCN prompts.
command-catalogStable command names and command-specific capability profiles.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Luckycat133/traecnclaw-mcp-skill'

If you have feedback or need assistance with the MCP directory API, please join our Discord server