Skip to main content
Glama

Set project defaults

set_project_defaults
Idempotent

Replace the default settings applied to every new project while leaving existing projects unchanged; submit the complete defaults set, because omitted keys are cleared.

Instructions

Replace the settings every new project starts with; existing projects keep theirs. Send the whole set you want: keys left out are cleared, {} clears all (read get_project_defaults first). Intro and outro change through set_default_bumper. Returns { ok, projectDefaults, hint }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "defaults": "<defaults>"
    },
    "name": "set_project_defaults"
  }
}

Input Schema

NameRequiredDescriptionDefault
defaultsYesThe complete set of defaults, e.g. { language: "en", maxClips: 5, pauses: "tight" }

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / defaults / properties / language / description
      Previous value: -"Spoken language code, e.g. en"New value: +"Spoken language: a code from list_languages (e.g. en) or its English name; unset, or a value that names no language, = detected"
  2. Changed1 schema field changedv0.45.3
    • addedInput schema / properties / defaults / properties / font
      Added value: +{
      +  "description": "Caption and hook font, a family from list_fonts",
      +  "maxLength": 60,
      +  "minLength": 1,
      +  "pattern": "^[^,\\\\{}\\r\\n]+$",
      +  "type": "string"
      +}
  3. Addedv0.26.3

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only supply idempotentHint, so the description carries the real burden and does well: it discloses replace-not-merge semantics, that omitted keys are cleared, that {} clears everything, and the return shape { ok, projectDefaults, hint }. The only gap is that it doesn't say whether clearing is recoverable or what happens to in-flight projects.

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?

Three short sentences, no filler. The destructive replace semantic is front-loaded, the alternative and prerequisite follow, and the return shape closes it out. Every sentence carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single nested-object parameter with no output schema, the description supplies the replace-vs-merge contract, the empty-object case, the prerequisite read, the sibling routing, and the return keys. Nothing an agent needs in order to call it safely is missing.

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 coverage is 100% and every nested property is documented, so the baseline is 3. The description adds genuinely new semantics beyond the schema: that the send is a whole-set replacement, that omitted keys are cleared rather than preserved, and that an empty object clears all — none of which the schema's per-field descriptions convey.

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?

States a specific verb and resource: 'Replace the settings every new project starts with', and immediately bounds scope with 'existing projects keep theirs'. That scope statement distinguishes it from update_project_style and from get_project_defaults without requiring the agent to open either schema.

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

Usage Guidelines5/5

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

Gives explicit prerequisites ('read get_project_defaults first') and an explicit alternative for a related slice of settings ('Intro and outro change through set_default_bumper'). The when-not condition is also stated: this tool does not touch existing projects.

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

Deploy Server

Other Tools