Skip to main content
Glama

Add a market monitoring source

create_market_source

After explicit user approval, add one source to an existing market group. Search sources require keywords; newsletter requires a name and generates a stable inbound address. enabled=true permits future bounded collection. It never subscribes to a newsletter or adds a followed brand. Present these effects before calling with confirmed=true.

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>",
      "kind": "<kind>",
      "name": "<name>"
    },
    "name": "create_market_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesMarket source: news, reddit, x, linkedin, or incoming newsletter.
nameYesDisplay 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.
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

A4.2/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, open-world, non-destructive write, which the description then enriches substantially. It discloses the approval gate and the confirmed=true semantics, what enabled=true actually enables (future bounded collection), and non-obvious negative side effects (no newsletter subscription, no brand following). That is exactly the kind of behavioral context annotations cannot convey.

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?

Short and front-loaded, leading with the approval precondition rather than burying it. Every sentence carries semantics (kinds, side effects, confirmation). Minor awkwardness from the line-broken phrases and the somewhat compressed 'inbound address' clause, but no wasted padding.

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?

With annotations and an output schema present, the description's remaining job is preconditions and side effects, and it covers those plus the confirmation workflow and kind-specific obligations. Not covered: behavior on duplicates or invalid monitoring_group_id, and the create-vs-update decision, though the latter is partly a sibling-documentation issue.

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 100%, so the baseline is 3, but the description adds genuine kind-conditional semantics: keywords are mandatory for search sources but not for newsletter, and newsletter generates a stable inbound address. The confirmed and enabled parameters are also explained in behavioral rather than type terms. Some of this overlaps the schema's own parameter descriptions, keeping it from a 5.

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?

States a specific verb and resource with scope: 'add one source to an existing market group.' The kind-specific requirements (keywords for search sources, name plus stable inbound address for newsletter) further sharpen what the tool actually creates. It stops short of naming the sibling it is not (update_market_source for editing existing sources), leaving the create-vs-update boundary to be inferred from the names.

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 precondition ('After explicit user approval') and an operational instruction ('Present these effects before calling with confirmed=true'), which tells the agent exactly when the call is authorized. It also implies the no-op path ('It never subscribes to a newsletter or adds a followed brand'), clarifying what this tool is not for. It does not explicitly route to alternatives such as update_market_source or preview tools for modifying existing entries.

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.