Skip to main content
Glama

Update a market monitoring source

update_market_source

After approval, change named fields; omitted fields remain unchanged. Read current source first. Enabling resumes bounded collection; disabling preserves old evidence and the incoming address. Type and newsletter alias cannot be changed.

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

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name; tag names are limited to 60 Unicode characters.
enabledNoWhether report preparation and email delivery are enabled together.
keywordsNoOne to sixteen explicit search terms; no terms are required for an incoming newsletter.
confirmedNoExplicit approval of this exact preview or member action. False never authorizes application.
source_idYesExisting market source ID belonging to the selected group, from list_market_sources.
cadence_hoursNoScheduled collection interval in hours, from one to 168; changing it does not run a collection immediately.
monitoring_group_idYesAccessible watchlist ID from list_monitoring_groups or get_workspace_context.

Output Schema

NameRequiredDescriptionDefault
idYes
kindYes
nameYes
limitsYes
statusYes
enabledYes
keywordsYes
last_errorYes
next_run_atYes
cadence_hoursYes
inbound_emailYes
last_attempt_atYes
last_success_atYes
monitoring_group_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true; the description adds real value beyond them by disclosing partial-update semantics (omitted fields unchanged), the effect of enabling (resumes bounded collection) and disabling (preserves old evidence and the incoming address), and immutable fields. It does not mention permission/authorization requirements or rate limits, so it is solid but not rich.

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?

Three short sentences with the partial-update rule front-loaded, followed by the read-first workflow and the enabling/disabling effects. No filler, though the line breaks and indentation slightly hurt scannability.

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 return values need not be explained, and the annotations carry the safety profile. However, for a 7-parameter mutation tool the description never clarifies the role of the required `confirmed` flag beyond the vague phrase "After approval," which is the main gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every parameter; the description adds little beyond the enabled-flag semantics already spelled out in the schema. The note that type and newsletter alias cannot be changed refers to fields absent from the schema, so it does not clarify any actual parameter.

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?

The description uses a specific verb ("change named fields") on a named resource whose identity comes from the title "Update a market monitoring source," and it clarifies the partial-update model. It does not name a sibling, but "Read current source first" implicitly routes the agent to the read/list tool before mutating.

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 gives a clear precondition ("After approval," "Read current source first") and states what cannot be changed (type and newsletter alias), which steers the agent away from invalid call attempts. It stops short of explicitly naming an alternative tool for creating vs. updating, so it is not a full when/when-not treatment.

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.