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 (for a non-owner member, the workspace owner can also set it from the account page); it is on 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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "messaging_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
accept_from_other_usersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds genuine context beyond them: the setting is on by default, changes are reversible at any time, and there is an ownership/permission rule for who can set it. However, the no-argument branch behaves like a read on a tool annotated as non-read-only, and the return shape of a write is never described.

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 core behavior is front-loaded and the Args block is clean, but the middle sentence stacks a parenthetical about account pages and a getter caveat into the same breath. Both facts are useful, yet the getter caveat belongs with the parameter semantics rather than buried between the permission rule and the Args block.

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 one-optional-parameter mutation with no output schema, the definition covers who, default, and reversibility well. What an agent cannot learn is what the call returns on success (the resulting preference? confirmation?) or the effect on already-running agents, which matters given no output schema explains the payload.

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%, so the description must carry the single parameter, and it does: 'accept_from_other_users: True to accept, False to block.' What it omits is the schema's null default — the prose scattered above ('called without an argument, this tool also returns it unchanged') implies it but never ties it to the parameter, leaving the most consequential value undocumented.

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 opening sentence states a specific verb and resource: change whether other users' agents can message this user's agents. It is clearly distinguishable from the sibling get_messaging_preferences, which it names. The only blur is that the same tool also acts as a getter when called with no argument, which slightly muddies what it 'is'.

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?

Explicit routing is given: get_messaging_preferences reads the setting, this tool writes it, and calling with no argument returns it unchanged. It also states who may invoke it (the user, plus the workspace owner for a non-owner member), which is real usage context. It stops short of explicit when-not-to-use or failure conditions.

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