Skip to main content
Glama

Update Ai Preferences Tool

update-ai-preferences
Destructive

Use this when the user wants to change AI writing guidelines, templates, strict mode, generator scope, or team enforcement. After authorization, this state-changing action updates personal or owner-managed team preferences; team-enforced settings can prevent member edits.

Input Schema

NameRequiredDescriptionDefault
template_textNoMarkdown template, max 12000 characters.
guidelines_textNoText guidelines, max 4000 characters.
strict_templateNoStrict template mode.
enforce_for_teamNoTeam-owner-only enforcement flag.
use_team_settingsNoPreference scope to update: personal or team. Team scope requires owner authorization.
apply_to_generatorsNoGenerationType integer values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description meaningfully adds to that: authorization is required, the action is state-changing, it touches personal or owner-managed team preferences, and team enforcement can prevent member edits. These are real behavioral facts beyond the annotation flags, though reversibility and partial-update semantics are unstated.

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 dense sentences with no filler. The triggering condition is front-loaded and the authorization/constraint caveat follows immediately, so an agent gets the essentials in the first read.

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?

No output schema exists, and with annotations covering the safety profile plus a fully documented schema, the remaining need is behavioral context — which the description supplies (authorization, scope, team enforcement). It is nearly complete; only update semantics such as what happens to unset fields are missing.

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 description coverage is 100%, so each of the six parameters is already documented in the schema. The description echoes the parameter domains (templates, guidelines, strict mode, generator scope, enforcement) but adds no syntax, format, or interaction detail beyond them — the correct baseline of 3 when the schema does the heavy lifting.

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?

Names a specific verb (update) and resource (AI preferences) and enumerates the mutable surface: guidelines, templates, strict mode, generator scope, team enforcement. It clearly distinguishes itself from read-oriented siblings, though it never names the obvious counterpart get-ai-preferences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use this when the user wants to change...' gives a clear triggering condition, and it notes that team-enforced settings can block member edits. It stops short of explicitly routing the agent to get-ai-preferences for reads or stating when not to use this tool.

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.