Skip to main content
Glama

Save preference tags

set_preferences
Idempotent

Store the user's onboarding answers as non-sensitive tags only: project_types, platforms, budget (free|under_20|any), preferences (nocode|code|open-source|free-tier), and tools_in_use (catalog ids). Unknown values are dropped — never send names, emails, code, project names or free text. Used by check_updates; the platforms and preferences tags can also reorder equally-matched recommend_tools results by up to 2 points (tie-break only, never overriding a capability filter). project_types, budget and tools_in_use never affect recommend_tools. Optional key: pass a feed key (from subscribe; send it in the Authorization: Bearer header — the /api/mcp?k=KEY URL form is deprecated but still works during the transition) to keep this profile separate per project; without it, the anonymous client identity is used.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
budgetNo
platformsNo
preferencesNo
tools_in_useNoCatalog ids of tools already in use
project_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • addedInput schema / properties / key
      Added value: +{
      +  "type": "string"
      +}
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already state idempotent=true, destructive=false), the description discloses that unknown values are silently dropped, spells out a PII exclusion list, and explains the optional key's auth mechanics including the Bearer header and the deprecated query-param form. It also describes the fallback to an anonymous client identity when no key is supplied, which is behavior an agent cannot infer from schema or annotations.

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 safety constraint and the tag list are front-loaded, and the downstream-effect sentence is precise about the 2-point tie-break cap. The final sentence is dense, stacking key auth, deprecation notice, and anonymous fallback into one long clause, but nothing is extraneous.

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 6-parameter mutation tool with no output schema and thin schema coverage, this covers the safety profile, the optional auth path, the drop-unknown-values behavior, and downstream effects on two siblings. The missing pieces are the semantics of the platforms and project_types arrays, which an agent must guess at.

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 only 17%, so the description must carry the load, and it mostly does: it gives the budget enum values, the preferences vocabulary, and clarifies that tools_in_use are catalog ids. The key parameter's provenance (from subscribe) and transport are explained. It stops short of describing platforms and project_types with any specificity, leaving those two undocumented in both places.

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 opens with a specific verb and resource ('Store the user's onboarding answers as non-sensitive tags') and then enumerates exactly which tag families are stored. It also distinguishes this tool's effects from siblings by naming check_updates as the consumer and recommend_tools as the only downstream tool affected, and only for two of the five tag groups.

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?

It gives clear context on when this matters (onboarding answers, upstream of check_updates, tie-break influence on recommend_tools) and scopes that influence tightly ('tie-break only, never overriding a capability filter'). The clear gap is the sibling save_preferences: nothing in the description explains how set_preferences differs from it or when to pick one over the other.

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.