Skip to main content
Glama

Set TraeCN Setting Toggle

traecn_set_setting_toggle
Idempotent

Enable or disable a toggle setting by specifying section and label, then verify the applied state. Handles no-op when state is unchanged.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYesSetting label exactly as returned by traecn_list_settings.
enabledYesDesired toggle state.
sectionYesSection name exactly as returned by traecn_list_setting_sections.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoStable machine-readable result or error code.
errorNoError identifier or diagnostic when the operation failed.
labelNoSetting label that was written.
valueNoValue applied to the setting.
resultNoDriver-reported write outcome, including already-in-desired-state.
statusNoStable operation or task status.
taskIdNoStable gateway task identifier.
changedNoWhether visible TraeCN state changed.
messageNoHuman-readable outcome summary.
successNoWhether the operation succeeded.
retryableNoWhether retrying the same call can succeed later.
nextActionNoSuggested next step after a failure.
conversationIdNoStable TraeCN conversation identifier.
Behavior4/5

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

The description adds value beyond annotations by noting the tool reads back the applied state and that applying the already-current state is a no-op. This complements the idempotentHint=true annotation and gives agents confidence about idempotent behavior. No contradictions with annotations were found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff, and the core action is front-loaded. The idempotency note is a meaningful addition. Every phrase earns its place.

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?

The description is adequate for a simple toggle tool with an output schema present. However, it does not explicitly state that this tool is only for toggle-style settings, nor does it reference sibling tools for non-toggle settings. Since the sibling list includes traecn_set_setting_text and traecn_select_setting_option, a brief routing note would improve completeness.

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% and each parameter is well-described with references to list functions. The description restates that section and label are identifiers but does not add new semantic detail beyond what the schema already provides. It does clarify that 'enabled' represents the desired toggle state, but that is very close to the schema's 'Desired toggle state.' Minimal added value.

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?

The description clearly states the verb ('enable or disable'), the resource ('one toggle setting'), and the identifying mechanism ('section and label'). It also mentions reading back the applied state, which distinguishes it from sibling tools like traecn_set_setting_text and traecn_select_setting_option without ambiguity.

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?

The description implies its usage for toggles but does not explicitly contrast it with alternatives. It does not state 'use this for toggle settings, not for text or option settings' or reference sibling tools. An agent may still infer correctly from the tool name and schema, but explicit guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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