Skip to main content
Glama

Get an X community

get_x_community

Fetch one community: its name, description, member_count, created_at, join_policy, rules and creator. x/posts with community_url gives its posts. Give exactly one of url or id. Costs 3 credits, cached or not; a failed call is refunded.

Input Schema

NameRequiredDescriptionDefault
idNoThe number in its URL.
urlNoThe community's URL, `https://x.com/i/communities/<id>`.
freshNoSkip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers notable behavioral detail: it costs 3 credits whether cached or not, and a failed call is refunded — genuinely useful for an agent budgeting calls. It omits authorization requirements and any caching/rate-limit nuance, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose and returned fields first, then the related resource and the parameter constraint, then cost. Every sentence earns its place with no padding.

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?

For a simple single-entity fetch with full schema coverage and no output schema, the description covers purpose, returned fields, the parameter constraint, the related posts path, and cost/refund behavior. Nothing essential to invoking it correctly is missing.

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 100%, so the baseline is 3, but the description adds the important constraint 'Give exactly one of `url` or `id`' — a mutual-exclusion rule not expressed in the schema (required is empty, no oneOf). This is real added value over the schema.

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 ('Fetch one community') and enumerates the returned fields (name, description, member_count, created_at, join_policy, rules, creator), making it unambiguous. It also names the complementary `x/posts` with `community_url` path, distinguishing community metadata from community posts.

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?

Clarifies the boundary: this tool returns the community, while `x/posts` with `community_url` returns its posts, and it instructs to give exactly one of `url` or `id`. It provides clear context but stops short of stating when this tool should be preferred over, or is a prerequisite for, other X tools.

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.