Skip to main content
Glama

association save

association_save
DestructiveIdempotent

Explicitly save an account-scoped sender or thread matching rule for a project/task. Find related tracked references with find_related_resources. Gmail-enabled accounts use saved rules to import and link matching message headers. Removing a rule stops future matching imports but preserves imported links. Saving a rule does not authorize provider access or grant access to other projects/accounts. Only workspace owners and admins, or the person who connected the account, can save, move or remove its rules, and an agent acts with its person's authority. Updates require the association version. Provide a unique requestId and reuse it when retrying this exact action. Item updates require the current version from get_tasks, get_items, or get_workspace. Permissions are enforced for the workspace, project, and account.

Input Schema

NameRequiredDescriptionDefault
idNo
kindYes
valueYes
itemIdYesAn item's ID, or a task's reference such as TASK-12.
versionNo
requestIdYes
connectorIdYes
resourceTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations it discloses meaningful behavior: saving does not authorize provider access nor grant cross-project/account access, permissions are enforced at workspace/project/account level, updates require the association version, and requestId must be unique and reused on retry. This adds genuine operational context, though the destructiveHint=true annotation (vs. this 'save' verb) is not reconciled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded and most sentences add substance, but the block is dense and the version requirement is effectively stated twice ('Updates require the association version' / 'Item updates require the current version from...'), which reduces efficiency.

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 mutation tool with no output schema and eight parameters, the description covers the permission model, idempotency/retry contract, versioning, and provider-access implications well. The main gap is silence on several required parameters (connectorId, resourceType, value), but overall it is sufficient to call correctly.

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 only 13% (just itemId documented), so the description carries the burden. It adds real meaning for requestId (unique, reuse on retry) and version (must come from get_tasks/get_items/get_workspace) and implies kind (sender/thread), but connectorId, resourceType, value, and id remain unexplained in both schema and 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?

The first sentence names a specific verb (save) plus resource (account-scoped sender or thread matching rule) and scope (project/task), which lets an agent separate it from association_delete. However, it never explicitly contrasts itself with close siblings like rule_create or association_delete, leaving differentiation to inference from the verb.

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 gives permission preconditions (only workspace owners/admins or the account connector may save/move/remove rules) and points to find_related_resources for related references, which is useful context. But it never states when to choose association_save over alternatives such as rule_create or association_delete, so usage is only implied.

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