Skip to main content
Glama

Save Ai Agent Configuration

hgr_save_ai_agent_configuration
Destructive

Saves AI Agent configuration. Requires confirmed=true and impactConfirmed=true; activation requires acceptedAiAgentTerms=true and disabling requires disableWarningConfirmed=true. Requires HGRApi Header channel / ChannelOAuthId resolved internally.

Input Schema

NameRequiredDescriptionDefault
bodyYesWAPI SaveAgentChannelConfigurationRequest body, for example Enabled=true/false.
confirmedYesMust be true after the user explicitly requested or confirmed the exact action.
channelOAuthIdYesChannelOAuthId returned by hgr_list_channels for the selected visible store.
impactConfirmedYesMust be true after the user explicitly confirmed the concrete high-impact consequences.
acceptedAiAgentTermsNoRequired as true when enabling AI Agent.
disableWarningConfirmedNoRequired as true when disabling AI Agent after warning that it will stop learning and may need to start over if reactivated.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and non-idempotent behavior. The description adds valuable safety context beyond annotations by naming the confirmation flags required before saving, activation, and disabling, including the activation terms and disable warning confirmation.

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?

The description is compact and front-loaded, with the core action first followed by the confirmation requirements. The phrase 'Requires HGRApi Header channel / ChannelOAuthId resolved internally' is slightly terse but does not waste space.

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 a destructive mutation with an output schema and fully described parameters, the description is nearly complete. It covers the main safety gates and activation/disable conditions, though it could clarify the exact effect of the save operation more explicitly.

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

Parameters4/5

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

Schema description coverage is already 100%, so the baseline is 3. The description adds conditional semantics for confirmed, impactConfirmed, acceptedAiAgentTerms, and disableWarningConfirmed, explaining when each is required beyond what the schema alone conveys.

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?

The description states a specific verb and resource: 'Saves AI Agent configuration.' This clearly distinguishes it from the sibling read operation hgr_get_ai_agent_configuration, though it does not explicitly name that sibling.

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 provides conditional requirements for activation and disabling, but it does not explicitly say when to use this tool versus alternatives. The usage is implied by the verb 'Saves' and the confirmation gates rather than being stated as a clear when-to-use rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources