Skip to main content
Glama

ForthClear Liquidation Marketplace

Subscribe to a saved search

subscribe_to_query

Save a catalogue search and receive new matching listings by email, webhook, or a pollable feed. Requires sign-in with buyer access. OAuth discovery: /.well-known/oauth-authorization-server (scope buyer:write).

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": {
      "query": "<query>",
      "channels": "<channels>"
    },
    "name": "subscribe_to_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesMarketplace filter. Prices are US dollars per unit. Omit a field to leave it unset.
channelsYesWhere to send new matches. One to five entries. Each entry is a webhook (public https URL), an email address, or mcp_resource (poll the returned feed).

Output Schema

NameRequiredDescriptionDefault
successYes
subscriptionYes
webhook_contractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / channels / description
      Previous value: -"Where to send new matches: 1-5 of webhook (public https URL), email, or mcp_resource (poll)."New value: +"Where to send new matches. One to five entries. Each entry is a webhook (public https URL), an email address, or mcp_resource (poll the returned feed)."
    • changedInput schema / properties / channels / items / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "type": {
      -        "const": "webhook"
      -      },
      -      "url": {
      -        "format": "uri",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "email": {
      -        "format": "email",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "email"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "email"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "type": {
      -        "const": "mcp_resource"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "type": {
      +        "const": "webhook",
      +        "description": "Deliver matches by HTTP POST to url."
      +      },
      +      "url": {
      +        "description": "Public https URL that receives new matches. Private and loopback addresses are rejected.",
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "email": {
      +        "description": "Address that receives new matches.",
      +        "format": "email",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "email",
      +        "description": "Deliver matches by email."
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "email"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "type": {
      +        "const": "mcp_resource",
      +        "description": "Keep matches on a pollable feed. The response includes poll_url."
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / query / additionalProperties
      Previous value: -trueNew value: +false
    • changedInput schema / properties / query / description
      Previous value: -"Marketplace filter object (category, minPrice, maxPrice, minQuantity, search, sellerCountry, condition, moqRange, bulkDealsOnly)."New value: +"Marketplace filter. Prices are US dollars per unit. Omit a field to leave it unset."
    • addedInput schema / properties / query / properties
      Added value: +{
      +  "bulkDealsOnly": {
      +    "description": "When true, only listings that have a bulk price tier.",
      +    "type": "boolean"
      +  },
      +  "category": {
      +    "description": "Catalogue category. One of: electronics, apparel, home_goods, beauty, sports, kitchenware, office_supplies, toys, food_beverage, tools, other.",
      +    "enum": [
      +      "electronics",
      +      "apparel",
      +      "home_goods",
      +      "beauty",
      +      "sports",
      +      "kitchenware",
      +      "office_supplies",
      +      "toys",
      +      "food_beverage",
      +      "tools",
      +      "other"
      +    ],
      +    "type": "string"
      +  },
      +  "condition": {
      +    "description": "Condition of the goods: salvage (sold as-is), customer returns, shelf pulls, overstock, or new or refurbished.",
      +    "enum": [
      +      "salvage",
      +      "customer_returns",
      +      "shelf_pulls",
      +      "overstock",
      +      "new_or_refurbished"
      +    ],
      +    "type": "string"
      +  },
      +  "maxPrice": {
      +    "description": "Maximum unit price in US dollars. 50 means $50.",
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "minPrice": {
      +    "description": "Minimum unit price in US dollars. 50 means $50.",
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "minQuantity": {
      +    "description": "Minimum units available on the listing.",
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "moqRange": {
      +    "description": "Minimum-order band: 0, 1-50, 51-100, 101-500, 501-1000, or 1001+.",
      +    "enum": [
      +      "0",
      +      "1-50",
      +      "51-100",
      +      "101-500",
      +      "501-1000",
      +      "1001+"
      +    ],
      +    "type": "string"
      +  },
      +  "search": {
      +    "description": "Words to match in the listing name, description, brand, or SKU.",
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  "sellerCountry": {
      +    "description": "Seller country, as stored on the seller account (name or 2-letter code).",
      +    "maxLength": 10,
      +    "type": "string"
      +  },
      +  "sort": {
      +    "description": "Result order: newest, price_low, price_high, quantity_low, quantity_high, discount_desc, lot_total_low, or lot_total_high.",
      +    "enum": [
      +      "newest",
      +      "price_low",
      +      "price_high",
      +      "quantity_low",
      +      "quantity_high",
      +      "discount_desc",
      +      "lot_total_low",
      +      "lot_total_high"
      +    ],
      +    "type": "string"
      +  }
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "subscription": {
      +      "properties": {
      +        "active": {
      +          "type": "boolean"
      +        },
      +        "channels": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "created_at": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "integer"
      +        },
      +        "poll_url": {
      +          "type": "string"
      +        },
      +        "query": {
      +          "type": "object"
      +        },
      +        "unsubscribe_url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "query",
      +        "channels",
      +        "active",
      +        "created_at",
      +        "poll_url",
      +        "unsubscribe_url"
      +      ],
      +      "type": "object"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    },
      +    "webhook_contract": {
      +      "properties": {
      +        "algorithm": {
      +          "type": "string"
      +        },
      +        "encoding": {
      +          "type": "string"
      +        },
      +        "event": {
      +          "type": "string"
      +        },
      +        "secret_env": {
      +          "type": "string"
      +        },
      +        "signature_header": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "event",
      +        "signature_header",
      +        "algorithm",
      +        "encoding",
      +        "secret_env"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "subscription",
      +    "webhook_contract"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-destructive, non-idempotent, open-world write, and the description usefully layers on the auth requirement and OAuth scope plus the delivery semantics of each channel (including poll_url for mcp_resource). What it omits is the consequence of the non-idempotent flag: nothing warns that re-invoking creates a duplicate subscription rather than updating the existing one.

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 compact sentences, front-loaded with the core behavior followed by the auth prerequisite and discovery endpoint. The OAuth discovery path is dense but operationally useful for an agent that must authenticate, so it earns its place.

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 an output schema present, return values (including poll_url) need not be explained, and the description covers purpose, auth, and delivery modes for a two-parameter but deeply nested tool. The remaining gap is lifecycle behavior around duplicate or existing subscriptions, which matters for a non-idempotent write.

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 description coverage is 100% and the nested query filters, channel shapes, and min/max item limits are all documented in the schema itself. The description only echoes the channel taxonomy (email, webhook, pollable feed) without adding syntax, defaults, or constraints beyond what the schema already states, so the baseline of 3 applies.

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 states a specific verb (save/subscribe) and resource (a catalogue search) plus the three delivery mechanisms (email, webhook, pollable feed), which is far more than a restatement of the name. It does not explicitly contrast itself with one-off search siblings like search_inventory, so an agent must infer that this is the recurring variant.

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 rather than spelled out: the agent can infer 'use this when you want ongoing notifications instead of a one-shot search', and the description does add a hard prerequisite (signed-in buyer access, scope buyer:write). There is no explicit when-not guidance, no mention of how to later update or remove a subscription, and no named alternative to route to for single searches.

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.

Resources