Skip to main content
Glama

edit_user_source

Update a user source configuration, with dry-run preview available before confirming changes.

Instructions

Update a user source.

Args: name: User source name. config: New configuration. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

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": {
      "name": "<name>",
      "config": "<config>"
    },
    "name": "edit_user_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
configYes
confirmNo
dry_runNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two meaningful behaviors: confirm must be True for the update to take effect, and dry_run produces a preview instead of a write. It does not say whether the supplied config fully replaces existing configuration or is merged, nor what permissions are required, which matters for a mutation with a nested object parameter.

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 purpose statement is front-loaded and each parameter gets one line with no filler. The docstring Args/Returns scaffolding is slightly heavy for a four-parameter tool but remains scannable and free of redundancy.

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

Completeness3/5

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

An output schema exists, so the Returns line is a minor restatement rather than a necessity. The real gap is the nested config object, whose shape and replace-versus-merge semantics are absent from both schema and description, which is a significant omission for a mutation tool with no annotations.

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 coverage is 0%, so the description must compensate, and it does partially: "Must be True to update" and "Preview without updating" add real semantics beyond the boolean defaults. But "name: User source name" is tautological and "config: New configuration" gives no insight into the nested object's expected structure, leaving the most complex parameter effectively undocumented.

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?

"Update a user source" gives a specific verb and resource, which is enough to distinguish it from create_user_source and get_user_source by verb alone. However, the description never explicitly names or contrasts those siblings, so differentiation is inferred rather than stated.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no named alternatives. The only implied workflow guidance comes from the parameter notes: set confirm=True to actually apply, or dry_run to preview, which hints at a preview-then-commit flow without stating it.

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