Skip to main content
Glama

Re-sync an integration

resync_integration
DestructiveIdempotent

Re-validate a connection's stored credentials against the ESP and refresh its audiences/lists (POST /v1/integrations/{type}/connections/{id}/sync). Changes stored audience data only; spends no credits.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "resync_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConnection id.
typeYesESP slug, e.g. `klaviyo`, `mailchimp`, `brevo`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-read-only, destructive, idempotent, open-world operation; the description adds real value beyond them by scoping the mutation ('changes stored audience data only') and by disclosing that no credits are spent. It still does not say what happens on invalid credentials or whether audiences removed upstream are deleted locally, which matters for a destructive tool.

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?

A single front-loaded sentence states the action, the effect, and the cost profile, followed by the endpoint in parentheses. Nothing is padded and nothing essential is buried.

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 two-parameter mutation with full schema coverage and rich annotations, the description covers action, side effect scope, and cost. The remaining gap is failure and reversibility behavior, which matters somewhat given destructiveHint=true but is a minor omission.

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% and both parameters are documented with an enum of ESP slugs, so the schema carries the load. The endpoint path implies the type/id mapping but the description adds no format, casing, or lookup guidance beyond 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 compound verb sequence (re-validate stored credentials, refresh audiences/lists) on a named resource and includes the endpoint path, so the agent knows exactly what happens. It does not compare itself to the nearest sibling (test_integration), so it earns a 4 rather than a 5.

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?

Usage is only implied: the reader infers this is for refreshing stale audience data. There is no explicit 'use this when X, use test_integration instead when Y', and no stated prerequisites such as the connection needing to already exist.

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