Skip to main content
Glama

fields_update_settings

Updates cvrt-fields settings and manages the encrypted write-only GitHub token: set a new token, leave it blank to keep the stored one, or clear it, then returns the updated settings.

Instructions

Update cvrt-fields settings. github_token is write-only and stored encrypted; a blank or omitted token keeps the stored one. clear_github_token: true deletes it. Returns the settings as fields_get_settings does (token as { set }).

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": {
      "site": "<site>"
    },
    "name": "fields_update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
github_tokenNoGitHub token for plugin updates; write-only, stored encrypted, blank keeps the stored one
clear_github_tokenNotrue deletes the stored token (wins over github_token)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.14.0
    • addedInput schema / properties / clear_github_token / description
      Added value: +"true deletes the stored token (wins over github_token)"
    • addedInput schema / properties / github_token / description
      Added value: +"GitHub token for plugin updates; write-only, stored encrypted, blank keeps the stored one"
  2. Addedv3.4.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it well: it discloses that github_token is write-only and stored encrypted, that blank or omitted preserves the stored value, that clear_github_token deletes it, and what the response looks like. It omits permission requirements, error behavior, and any destructiveness signal beyond the token deletion.

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?

Four short clauses, front-loaded with purpose and followed by the token rules and return shape. No filler sentences and nothing an agent needs is buried.

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 3-parameter mutation tool with no annotations and no output schema, the description supplies the critical token-lifecycle semantics and the return shape. Auth requirements and failure modes are the only notable gaps.

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 already 100%, yet the description still adds meaning: it clarifies the blank-versus-omitted equivalence for github_token and reinforces the precedence of clear_github_token. The precedence rule also appears in the schema, so some repetition limits it to a 4.

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 and resource ('Update cvrt-fields settings') and implicitly differentiates from the read counterpart by stating the return matches fields_get_settings. It stops short of explicitly naming fields_get_settings as the read alternative, but the scope is unmistakable.

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?

Usage is implied by the verb 'Update' and by the token-handling rules, which tell the caller which parameter combination to use. There is no explicit when-to-use versus when-not guidance, prerequisites, or naming of the get_settings sibling as the read path.

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