Propose a saved search
propose_saved_searchPreview a saved search before creation: returns comparison groups with entity names and organizations, and lets users rename groups, adjust entities, then create it without saving first.
Instructions
Propose a saved search for the user to review before it is created. Takes the same input as create_saved_search but writes nothing: it returns the comparison groups with each entity's name and organization, and in clients that display MCP Apps it also shows a form where the user can rename groups, move, remove, or add entities, and then create the search. Use this instead of create_saved_search whenever you chose the entities yourself (for example, to set up a comparison with one group per competitor), since the whole workspace sees saved searches. Holds at most 100 entities.
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>",
"groups": "<groups>"
},
"name": "propose_saved_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Saved search name. | |
| groups | Yes | Comparison groups (max 8). Analytics responses are keyed by group. | |
| keywords | No | Keywords to filter post content by. Cannot be combined with `booleanQuery`. | |
| dateRange | No | Date range filter. Omit or null = all time. | |
| platforms | No | Platforms to include. Omit or empty = all platforms. | |
| visibility | No | Workspace visibility: `team_edit` (default — any workspace member can edit) or `team_view` (view-only for members; also not editable via the API afterwards). | team_edit |
| description | No | Optional description. | |
| booleanQuery | No | Boolean keyword query matching the app's advanced search mode (e.g. `"net zero" AND (solar OR wind)`). Syntax: AND/OR/NOT (upper case), parentheses, quoted phrases with optional proximity (`"health care"~3` = up to 3 words between, any phrase length, max 20), NEAR/N (either order) and THEN/N (ordered) between terms or groups, wildcards (`elect*`, `wom?n`), fuzzy (`medicaid~1`, max 2). Always use explicit operators between terms. Mixing AND or NOT with OR at the same depth is an error — parenthesize to make precedence explicit (`(a AND b) OR c`, `(a OR b) NOT c`). NEAR/THEN bind tighter than AND/OR — parenthesize a proximity expression that sits next to AND/OR (`(a NEAR/5 b) OR c`, `(a OR b) NEAR/5 c`). NOT is not allowed inside NEAR/THEN; exclude outside the proximity expression. Matching is exact-token, case- and accent-insensitive (no stemming) — cover word variants with OR or a wildcard (`tariff OR tariffs`, `tariff*`). Korean attaches particles to words, so put a trailing wildcard on each Korean term (`검색*`). Hindi is written in Devanagari and romanized, so OR both forms (`(दोस्त OR dost)`); Devanagari and Tamil matching ignores vowel signs, so expect some unrelated matches. Comments are ignored by search: `//` to the end of the line, `<<< >>>` inline or across lines. Full syntax: https://docs.alidade-ai.com/search-syntax. Cannot be combined with the keyword parameters. | |
| keywordMatch | No | Whether posts must match `any` (default) or `all` of `keywords`. | |
| excludeKeywords | No | Keywords that matching posts must not contain (exact word/phrase match). Cannot be combined with `booleanQuery`. | |
| topicSearchMode | No | `shared`: the top-level keyword parameters apply to every group. `perGroup`: each group's own keyword parameters apply to that group only, and the top-level ones must be omitted. Defaults to `perGroup` when any group has keyword parameters, `shared` when top-level keyword parameters are given, and otherwise (on update) the search's current mode. Switching an update from `perGroup` to `shared` requires the top-level keyword parameters (empty arrays for no filter). | |
| keywordMatchType | No | `exact` (default) matches the exact words or phrases only; `stemmed` also matches English word variants (run/running). Applies to `keywords`. |