Skip to main content
Glama

Sergio by Serviche

Save changes to a Contacts view

edit_contact_view
Idempotent

Saves changes to a saved Contacts view, as the view's Save changes does: version (from the view you read) is required and refuses the save if someone changed it since (stale_view, never merged); send only the fields to change (name, query, presentation, visibility, people). Changing who a team view is shared with can be refused with campaigns_follow_view when campaigns follow the view, then again with confirmFollowers: true. Deleting a view stays a person's control in the app. Pass the same idempotency_key when retrying.

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": {
      "view_id": "<view_id>",
      "version": "<version>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "edit_contact_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
queryNo
peopleNo
versionYes
view_idYes
visibilityNo
presentationNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.
confirmFollowersNo

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?

Goes well beyond the annotations: optimistic concurrency with stale_view and a guarantee of 'never merged', partial-update semantics, a named business-rule refusal (campaigns_follow_view) with the confirmFollowers escape hatch, and the rule to reuse idempotency_key on retries. These are exactly the failure modes an agent would otherwise discover only by erroring out, and nothing contradicts the supplied hints.

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?

Front-loaded with the core action and the version requirement, then the failure cases, then the retry rule — a sensible ordering. The sentences are long and clause-dense, and 'as the view's Save changes does' plus 'Deleting a view stays a person's control in the app' are the only phrases that could be trimmed.

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?

For a 9-parameter mutation with nested objects and no output schema, the description covers the critical behaviors: concurrency, partial updates, consent-gated sharing changes, and retry idempotency. It never says what a successful save returns (the view object plus a new version?), which is the main thing an agent needs to chain a follow-up call.

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 only 11%, so the description must carry the load, and it does for the highest-risk fields: version's provenance and concurrency role, the set of mutuable fields (name, query, presentation, visibility, people), idempotency_key retry semantics, and confirmFollowers' conditional use. Remaining gaps are view_id (self-evident from the name) and the visibility enum values 'me'/'team'/'people', which are never explained.

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 ('Saves changes to a saved Contacts view') and anchors it to the app's own 'Save changes' behavior, which makes the scope unambiguous. It does not name the sibling that creates a view (e.g. save_contact_view), so the create-vs-edit distinction has to be inferred from 'saved Contacts view'.

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 concrete operating conditions: version is required and comes from the view you read, only changed fields should be sent, and the campaigns_follow_view refusal must be re-issued with confirmFollowers: true. It also says deletion is out of scope, which is guidance about what not to attempt here. It stops short of explicitly naming an alternative tool for the excluded operations.

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