Skip to main content
Glama

Add Saved X Community

add_x_community

Validate and save an X Community for one connected X account. Accepts a Community URL or numeric ID, avoids duplicates, and returns its display name for later use with publish_post platformOptions.communityName. Calling it again for an existing Community refreshes that entry's last-used metadata.

Input Schema

NameRequiredDescriptionDefault
accountIdYesConnected X account ID returned by list_accounts
communityYesNumeric X Community ID or x.com Community URL

Output Schema

NameRequiredDescriptionDefault
nameNo
createdYes
isValidYes
messageYes

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?

Adds real behavior beyond the annotations: dedupe on repeat calls, refresh of last-used metadata for existing entries, and a returned display name. These are consistent with idempotentHint=false (repeat calls mutate the timestamp) and destructiveHint=false (no duplicates created), so nothing is contradicted. It does not state auth requirements or error behavior for an invalid ID/URL.

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?

Three tight sentences, front-loaded with the action, followed by accepted inputs and downstream usage. Every clause carries information; no filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 details need not be explained, and annotations already carry the safety profile. The description fills the remaining gaps (dedupe, refresh-on-repeat, account scoping, downstream consumer) for a two-parameter upsert tool.

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 100%, so both parameters are already documented, including the 'URL or numeric ID' format. The description only restates that format and implies the account linkage; it adds no new syntax or constraint beyond the schema, so the baseline 3 applies.

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?

Starts with a specific compound verb ('Validate and save') and a precise resource ('an X Community') scoped to 'one connected X account'. It is trivially distinguishable from list_x_communities and remove_x_community without opening any 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?

Provides clear workflow context: the saved community is consumed later via publish_post platformOptions.communityName, so the agent knows why and when to call it. It stops short of explicitly naming alternatives (e.g. list_x_communities to discover IDs, remove_x_community to undo), so no exclusions are offered.

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