Skip to main content
Glama

update_enquiry_source

DestructiveIdempotent

Change an enquiry source. Same fields as create_enquiry_source, plus active (false switches it off without losing what it already brought in).

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": {
      "source_id": "<source_id>"
    },
    "name": "update_enquiry_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the enquiry source
activeNoWhether the entry is active
formatNoMail reader: labelled 'Field: value' lines or the Schadstoffanalyse reader
portalNoPortal key, e.g. ofri, renovero, localch, schadstoffanalyse or other
source_idYesID of the source to change
campaign_idNoID of the campaign
cost_amountNoFixed cost per enquiry
cost_patternNoRegex with one group holding the cost amount in the mail
from_patternNoSubstring of the sender address that identifies this source
cost_currencyNoCurrency of the cost, default CHF
subject_patternNoSubstring of the subject that identifies this source

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / active / description
      Added value: +"Whether the entry is active"
    • addedInput schema / properties / campaign_id / description
      Added value: +"ID of the campaign"
    • addedInput schema / properties / cost_amount / description
      Added value: +"Fixed cost per enquiry"
    • addedInput schema / properties / cost_currency / description
      Added value: +"Currency of the cost, default CHF"
    • addedInput schema / properties / cost_pattern / description
      Added value: +"Regex with one group holding the cost amount in the mail"
    • addedInput schema / properties / format / description
      Added value: +"Mail reader: labelled 'Field: value' lines or the Schadstoffanalyse reader"
    • addedInput schema / properties / from_pattern / description
      Added value: +"Substring of the sender address that identifies this source"
    • addedInput schema / properties / name / description
      Added value: +"Name of the enquiry source"
    • addedInput schema / properties / portal / description
      Added value: +"Portal key, e.g. ofri, renovero, localch, schadstoffanalyse or other"
    • addedInput schema / properties / source_id / description
      Added value: +"ID of the source to change"
    • addedInput schema / properties / subject_pattern / description
      Added value: +"Substring of the subject that identifies this source"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the mutation, idempotency, and destructive annotations, it explains that deactivation is a soft switch-off and does not discard previously acquired data. This usefully qualifies the destructiveHint, though other update behavior such as handling omitted fields is not stated.

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?

Two compact sentences front-load the operation and then explain its most important additional control. There is no redundant listing of parameters already documented in the schema.

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?

Together with the fully described schema and annotations, the description is adequate for selecting and invoking an 11-parameter update tool. However, it does not explicitly confirm partial-update behavior for omitted fields, and with no output schema it also gives no indication of the result returned.

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 100%, so most parameters need no further explanation. The description nevertheless adds meaningful semantics for active=false—deactivation without loss of historical results—beyond the schema's generic "Whether the entry is active."

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 gives a specific verb and resource: "Change an enquiry source." It also distinguishes the operation from create_enquiry_source by noting the shared fields and the additional active control.

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 provides a concrete use case for the active field: set it to false to switch off a source while retaining what it already brought in. The reference to create_enquiry_source adds context, although there are no explicit exclusions or guidance on other update alternatives.

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.