Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Filter Update

filter_update

Update a saved conversation filter by changing only the fields you provide; unspecified criteria keep their current values.

Instructions

Update a saved conversation filter. Only provide fields to change; criteria not given keep their value.

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": {
      "organizationId": "<organizationId>",
      "filterId": "<filterId>"
    },
    "name": "filter_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
colorNoColor index shown in the app.
searchNoSearch text. Words are AND-ed and prefix matched. Use "quoted phrases", -word to exclude, and the operators from:<sender name or email>, subject:<text>, is:<open|closed|unread|read|assigned|unassigned|ai>, has:<attachment|draft>, before:<YYYY-MM-DD>, after:<YYYY-MM-DD>.
statusNoStatus; "open" is unread + read.
filterIdYesThe filter id (see filter_list).
priorityNoExact priority.
contactIdNoContact id.
memberIdsNoAssigned member ids.
channelIdsNoChannel ids.
createdAfterNoCreated at or after. ISO 8601 date or date-time, e.g. 2026-09-01 or 2026-09-01T12:00:00Z.
updatedAfterNoUpdated at or after. ISO 8601 date or date-time, e.g. 2026-09-01 or 2026-09-01T12:00:00Z.
createdBeforeNoCreated at or before. ISO 8601 date or date-time, e.g. 2026-09-01 or 2026-09-01T12:00:00Z.
updatedBeforeNoUpdated at or before. ISO 8601 date or date-time, e.g. 2026-09-01 or 2026-09-01T12:00:00Z.
organizationIdYesThe organization id. Use organization_list to find it.
classificationIdsNoClassification ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / channelIds
      Added value: +{
      +  "description": "Channel ids.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / inboxIds
      Removed value: -{
      -  "description": "Inbox ids.",
      -  "items": {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so safety is covered structurally. The description adds meaningful behavioral information beyond that: omitted criteria are preserved, so the agent knows this is a partial merge rather than an overwrite. It does not disclose what happens on an unknown filterId, whether changes are reversible, permission requirements, or what the response contains.

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 sentences, zero padding, with the verb and resource front-loaded and the partial-update rule immediately after. Every clause earns its place.

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?

For a 15-parameter mutation with no output schema, the definition covers the essential merge semantics but omits the return value shape (presumably the updated filter), failure behavior for a missing or inaccessible filterId, and any permission context. The exhaustive schema compensates for most parameter gaps, but the mutation's behavioral envelope is only partially described.

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% across all 15 parameters, including rich syntax documentation for 'search' and enum values for 'status', so the schema carries the parameter burden. The description's only added semantic is that unset fields retain prior values, which is useful but applies uniformly rather than adding per-parameter meaning. Baseline 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?

States a specific verb and resource: 'Update a saved conversation filter.' An agent can distinguish this from filter_create/filter_get by the verb alone, though the description never names those siblings to reinforce the boundary.

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?

The second sentence implies the intended usage pattern (patch-style partial update), which tells the agent this is not a replace operation. However, it gives no explicit when-to-use-versus-alternative guidance, such as when to use filter_update instead of filter_create or filter_get, and no prerequisites for obtaining a filterId.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools