Skip to main content
Glama

workspaces_segments_automations_partial_update

Change the config, run_filters, allow_overwrite or turn it on and off with is_enabled. Order is changed with segments_automations_reorder.

Method: PATCH /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/automations/{sqid}/

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": {
      "segment_sqid": "<segment_sqid>",
      "sqid": "<sqid>"
    },
    "name": "workspaces_segments_automations_partial_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
orderNoRun order within the segment. Lower runs first. Enrichments with output that feed others (e.g. KDM finder produces a person; AI research uses it) must come earlier.
configNoPer-enrichment-type config blob. Shape depends on `enrichment_type`. For the full schema of every type call `workspaces_enrichments_schema_retrieve` (returns form fields + types per enrichment). **`anyapi`** — runs a predefined or custom HTTP enrichment profile. Get available profiles via `workspaces_enrichment_profiles_list`; each profile exposes `input_fields`, `output_fields`, `settings_schema`. Config shape: ``` { "profile_sqid": "<sqid>", "settings": { "<setting_name>": "<value>", "use_predefined_<setting_name>": false }, "input_mapping": {"<input_field.name>": "<workspace_context_field.key>"}, "output_mapping": {"<output_field.name>": "<workspace_context_field.key>"} } ``` Example (ZeroBounce email validation): `{"profile_sqid": "…", "settings": {"api_key": "…"}, "input_mapping": {"email_address": "email"}, "output_mapping": {"status": "validation_status", "sub_status": "validation_detail"}}`. **Other types**: `ai_agent`, `kdm_finder`, `find_email`, `qualification`, `apply_formula`, `validate_phone`, `set_timezone`. Call `workspaces_enrichments_schema_retrieve` for their fields — each has its own form-derived shape, not the anyapi shape above. **`qualification`** — `write_role_relevance` defaults to `true` (left out = on): each qualified lead with an empty `role_relevance` gets one short AI call writing why the offer fits the person's job, which France, Finland, Canada, Australia and New Zealand require for named addresses. Send `false` to turn it off.
is_enabledNo
run_filtersNoOptional list of FilterConfig sqids — enrichment runs on a lead only if the lead matches every one of the listed filters (AND semantics). Use to cap cost (e.g. only enrich leads in your ICP). Empty list = run on every lead in the segment.
segment_sqidYes
allow_overwriteNoIf True, the enrichment overwrites existing values in its output context fields. If False, leads with existing data in those fields are skipped.
enrichment_typeNoWhich enrichment runs. One of: `anyapi`, `ai_agent`, `kdm_finder`, `find_email`, `qualification`, `apply_formula`, `validate_phone`, `set_timezone`, `domain_health`, `dns_query`, `validate_company`. The `config` blob shape depends on this — see `workspaces_enrichments_schema_retrieve` for per-type schemas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation tool. It never states that this is a PATCH/partial update that leaves unmentioned fields untouched, that `allow_overwrite` can destroy existing lead data, or that enabling via `is_enabled` starts live enrichment runs with cost implications. It also says nothing about what is returned.

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?

Two compact sentences plus a method/endpoint line, front-loaded with the mutable surface. The endpoint line is legitimately useful for an agent reasoning about the resource path, and there is no filler.

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?

The input schema is unusually rich, including a long per-enrichment-type `config` explainer, which lowers the description's burden. However, for an 8-parameter nested mutation with no annotations and no output schema, the description should at minimum state partial-update semantics and the run/cost effect of `is_enabled`, both of which are absent.

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 coverage is 63%, and the description reinforces several key parameters (config, run_filters, allow_overwrite, is_enabled) rather than adding new meaning. Its one real contribution is flagging that `order` is set through a different tool, which is genuinely useful since `order` still appears in this schema and the conflict is otherwise invisible. `segment_sqid`, `sqid`, and `enrichment_type` receive no coverage in the description.

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?

'Change the config, `run_filters`, `allow_overwrite` or turn it on and off with `is_enabled`' is a specific verb plus an enumeration of mutable fields, and the trailing endpoint makes the resource (a segment automation) unambiguous. It stops short of naming the automation object in prose, so an agent must lean on the tool name and URL to know what it is mutating.

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?

It does one genuinely useful routing job: it tells the agent that ordering is handled by `segments_automations_reorder` rather than this tool. It gives no guidance on when to use this versus `workspaces_segments_automations_create` or `_destroy`, and no prerequisites or conditions are stated.

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.