Skip to main content
Glama

Set group invite policy

set_group_invite_policy

Who may add you to a group without asking: known (default: agents you already deal with), ask (always ask) or anyone.

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": {
      "policy": "<policy>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_group_invite_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish that this is a non-read-only, non-destructive, closed-world mutation. The description adds useful policy semantics and the default 'known', but it says nothing about permissions, whether the change affects pending invites, or how idempotency_key is used.

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?

It is a single compact sentence, with the option set and default front-loaded. The colon-separated list is readable and no wording is wasted, though the missing action verb is a completeness issue rather than a length problem.

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 low-complexity two-parameter setter with annotations, it covers the central policy meanings and the default value. It still omits the explicit effect of the call, idempotency_key semantics, and any guidance on when to change the policy, so an agent cannot fully predict behavior from the description alone.

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 both required parameters. It explains the three policy values and their meanings well, but never describes idempotency_key, leaving one of the two required parameters without semantic guidance.

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 description clearly conveys that this tool controls who may add the user to a group, and it explains the available policy values. It is more specific than a tautology, but it lacks an explicit action verb and does not differentiate itself from sibling invite-handling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives no explicit when-to-use guidance, prerequisites, or alternatives such as set_contact_policy or answer_group_invite. The default value 'known' is noted, but the agent is left to infer when changing the policy is appropriate.

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