Skip to main content
Glama

Cherami

Update conversation labels

update_thread_labels

Add or remove labels across all current received and sent messages in a conversation. Other labels stay unchanged; future replies do not inherit these changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYes
add_labelsNo
remove_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCanonical thread ID at selection.
inbox_idYes
add_labelsYes
sent_countYes
message_countYesNumber of messages updated, including copies that already had the requested labels; excludes concurrently deleted copies.
remove_labelsYes
received_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare non-readOnly, non-idempotent, non-destructive. The description adds genuinely useful behavior beyond that: untouched labels are preserved, and the change does not propagate to future replies. It does not disclose auth/permission needs or what happens when a remove_labels entry isn't present, so it stops short of full transparency.

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?

Two tight sentences with no filler. The scope and mutation direction are front-loaded, and the side-effect caveats follow immediately after.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. The description covers scope and non-inheritance well, but for a mutation tool with 0% schema coverage it could say more about permissions, unknown-label handling, and the thread_id parameter.

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 0% at the parameter level, so the description carries the burden. It maps to add_labels/remove_labels by saying 'add or remove labels', but thread_id is never mentioned and no format, limits, or case-sensitivity guidance appears in the description. Baseline 3 for a partially compensating description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (add/remove) plus the resource and exact scope: labels on all current received and sent messages in a conversation. This cleanly separates it from siblings update_message_labels, update_sent_message_labels, and bulk_update_* which operate on other scopes.

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?

The scope statement ('across all current received and sent messages in a conversation') implicitly tells the agent when to pick this over the message-level or sent-only label tools. It also sets the boundary that future replies are not affected, but it never names an alternative tool or states an explicit when-not condition.

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