Skip to main content
Glama

update_settings

Destructive

Update account settings: the outbound webhook endpoint with its event subscriptions, and the default proof lifetime. Branding belongs to each sub-account: change it with update_sub_account. Setting the first webhook endpoint creates the signing secret and returns it in this response; the value is returned only when this call created or rotated it, so record it then.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.

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": "update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
hitlNoApproval-setup settings
webhookNoOutbound webhook configuration. Deliveries carry an HMAC-SHA256 X-Proof-Signature over "<X-Proof-Timestamp>.<body>".
proof_expiry_daysNoDefault proof-token lifetime in days for newly issued proofs

Output Schema

NameRequiredDescriptionDefault
hitlNoApproval-setup settings.
successNo
webhookNoOutbound webhook configuration — DEPRECATED (#421). An account switched over to webhook endpoints sees its account-wide (`legacy`) endpoint here: `url` is null while that endpoint is disabled, a `url` write updates or creates it, `url: null` disables it (its secret is kept), and `rotate_secret` rotates its secret. An account not yet switched over sees its settings fields, as before. Omitted for an API key bound to one sub-account.
proof_expiry_daysNoDefault lifetime in days of newly issued verification proofs, or null when the account has never set one. Confirmation-decision proofs do not use it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / hitl
      Added value: +{
      +  "description": "Approval-setup settings",
      +  "properties": {
      +    "approver_password_min_length": {
      +      "anyOf": [
      +        {
      +          "maximum": 128,
      +          "minimum": 8,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The shortest encryption password an approver may choose when enrolling (8-128); null removes the minimum. Applies to new enrolments only."
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "hitl": {
      +      "description": "Approval-setup settings."
      +    },
      +    "proof_expiry_days": {
      +      "description": "Default lifetime in days of newly issued verification proofs, or null when the account has never set one. Confirmation-decision proofs do not use it."
      +    },
      +    "success": {},
      +    "webhook": {
      +      "description": "Outbound webhook configuration — DEPRECATED (#421). An account switched over to webhook endpoints sees its account-wide (`legacy`) endpoint here: `url` is null while that endpoint is disabled, a `url` write updates or creates it, `url: null` disables it (its secret is kept), and `rotate_secret` rotates its secret. An account not yet switched over sees its settings fields, as before. Omitted for an API key bound to one sub-account."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / webhook / additionalProperties
      Removed value: -false
  3. Changed1 schema field changed
    • removedInput schema / properties / branding
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Branding settings to update",
      -  "properties": {
      -    "business_name": {
      -      "description": "Business name displayed in verifications",
      -      "maxLength": 100,
      -      "type": "string"
      -    },
      -    "email_theme": {
      -      "description": "Email template theme",
      -      "enum": [
      -        "dark",
      -        "light"
      -      ],
      -      "type": "string"
      -    },
      -    "logo_url": {
      -      "anyOf": [
      -        {
      -          "anyOf": [
      -            {
      -              "not": {}
      -            },
      -            {
      -              "format": "uri",
      -              "type": "string"
      -            }
      -          ]
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "HTTPS URL to business logo"
      -    },
      -    "primary_color": {
      -      "description": "Primary brand color (hex, e.g. #FF5733)",
      -      "pattern": "^#[0-9A-Fa-f]{6}$",
      -      "type": "string"
      -    },
      -    "support_email": {
      -      "description": "Support email shown in verification messages",
      -      "format": "email",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  4. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds real context beyond them: setting the first endpoint mints a signing secret, and the secret is returned only when this call created or rotated it, so it must be recorded immediately. That is valuable and non-obvious. However, it never says what happens to fields that are omitted on a call (merge vs. clear), which matters for a destructive nested update.

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 functional scope is front-loaded in the first clause, followed by the side effect and the alternative, then a separate access paragraph. Every sentence carries information, though the access paragraph is somewhat verbose relative to the one actionable instruction it contains (authenticate, then retry).

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?

Given a nested three-parameter schema with 100% coverage, an output schema, and annotations covering the safety profile, the description supplies the pieces structured fields cannot: auth prerequisite, the one-time secret return, and the branding boundary. The remaining gap is update semantics for omitted fields, which an agent needs before mutating account-wide settings.

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%, and the schema already explains url restrictions, event wildcard semantics, rotate_secret invalidation, and the proof_expiry_days range, so the baseline is 3. The description adds only the secret-return tie-in to webhook creation/rotation and the branding exclusion; it does not explain partial-update semantics or the null-vs-omit distinction for any of the three top-level parameters.

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 ("Update account settings") and enumerates exactly the two domains covered: the outbound webhook endpoint with its event subscriptions, and the default proof lifetime. It also names what is explicitly out of scope (branding) and routes that to update_sub_account, so the tool is distinguishable from siblings without opening a schema.

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?

Gives a clear use case plus one explicit exclusion (branding → update_sub_account) and a prerequisite workflow for access (authenticate the client, then retry; start_login does not unlock this tool). It does not address whether/when to prefer this over update_webhook_endpoint or update_hitl, both of which overlap with sub-objects of this schema, leaving some routing ambiguity.

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.