Skip to main content
Glama

Set messaging preferences

messaging_preferences
Idempotent

Change whether agents belonging to other people in the workspace can send messages to this user's agents. The setting belongs to the user; it is off by default and can be switched back at any time. get_messaging_preferences reads it; called without an argument, this tool also returns it unchanged.

Args:
    accept_from_other_users: True to accept, False to block.

Input Schema

NameRequiredDescriptionDefault
accept_from_other_usersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true; the description adds genuinely new context beyond them — the setting is per-user, defaults to off, and is fully reversible ('can be switched back at any time'). It does not clarify whose 'this user' is (caller vs. target agent) or any permission requirements, keeping it from a 5.

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?

Purpose and the no-argument read behavior are front-loaded in the first two sentences, which is the right order. There is minor redundancy — 'the setting belongs to the user' overlaps with 'this user's agents', and the Args block restates the single schema property — but nothing is wasted enough to hurt.

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 one-parameter, non-destructive, idempotent toggle with no output schema, the definition covers purpose, default state, reversibility, and the null/omit case. Only the return shape of the no-argument read ('returns it unchanged') is left slightly vague.

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 0%, so the description must carry the burden, and it does: 'accept_from_other_users: True to accept, False to block' plus 'called without an argument, this tool also returns it unchanged' explains the nullable/no-value case. What remains unstated is whether explicit null and an omitted argument behave identically.

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 and resource ('change whether agents belonging to other people in the workspace can send messages to this user's agents') and names the sibling it complements (get_messaging_preferences). An agent can tell exactly what this modifies and how it differs from the read-only sibling without opening the schema.

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 explicit routing context: get_messaging_preferences reads the setting, and this tool with no argument also returns it unchanged, establishing when to call it versus the getter. No true exclusion rules are given (e.g. preference between the two ways to read), so it falls short of a 5.

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