Skip to main content
Glama

Loops MCP by usefulapi

Update a contact

loops_update_contact
Destructive

Updates (or creates) a contact by email/userId. Upserts — creates the contact if not found. Loops API: PUT /v1/contacts/update.

Input Schema

NameRequiredDescriptionDefault
emailYesContact email address (required; identifies the contact).
sourceNoSource label.
userIdNoYour app's user id (alternative identifier).
lastNameNoLast name.
firstNameNoFirst name.
userGroupNoUser group segment name.
propertiesNoArbitrary custom contact properties (string/number/boolean); merged into the request body.
subscribedNoWhether the contact is subscribed to email.
mailingListsNoMap of mailing-list id -> subscribed boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / properties / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  }
      -]
    • addedInput schema / properties / properties / additionalProperties / type
      Added value: +[
      +  "string",
      +  "number",
      +  "boolean"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The destructiveHint=true annotation already flags a write risk, but the description adds non-obvious behavior beyond it: this is an upsert that silently creates the contact when it does not exist. It still omits whether omitted fields are preserved or cleared (partial update vs replace) and how mailingLists/subscribed are reconciled.

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?

Three short sentences with zero filler; the upsert behavior is front-loaded immediately after the core action so the most decision-relevant fact lands first.

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 9-parameter mutation with nested objects and only a single annotation, the description is thin: it says nothing about how custom properties or mailingLists are merged, what happens to omitted fields, or what the call returns. The upsert disclosure covers the biggest ambiguity, but the tool's complexity warrants more.

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%, so every one of the 9 parameters is already documented, making 3 the baseline. The description adds only the fact that email/userId serve as the identifying keys, which is marginally useful but largely restates the schema.

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 ('Updates (or creates) a contact by email/userId') and clarifies the upsert semantics, plus the underlying endpoint. It does not explicitly contrast with the nearby loops_create_contact sibling, leaving the agent to infer why one would use this instead of a dedicated create call.

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 description conveys a conditional usage rule — 'creates the contact if not found' — which is useful for deciding whether a pre-existing lookup is needed. However, it never names alternatives (loops_create_contact, loops_find_contact) or states when not to use this tool, so routing guidance remains implicit.

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.