Skip to main content
Glama

search_memberships

Find members to assign or @-mention in comments by searching memberships in a collection or lightbox. Returns matches from name, username, or email.

Instructions

Search memberships within a comment context (collection / lightbox) — used for assignee pickers and @-mention lookups in commenting flows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoPrefix-match on name / username / email
pageNoPage number
per_pageNoResults per page (max 100)
commentable_idNo
commentable_typeNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does reveal the comment-context scoping, but it does not disclose the read-only nature, authentication requirements, pagination behavior, or any return value structure. The description adds only a little beyond the schema's parameter descriptions.

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?

The description is a single, front-loaded sentence with no filler. Every word adds value, clearly stating the tool's purpose and target use case. It is highly efficient.

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?

With 5 parameters, no annotations, and no output schema, the description covers the core purpose and scoping but omits details like return format, pagination defaults, or any special behavior. It is sufficient for a straightforward search tool but leaves some ambiguity, so it is not fully complete.

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 60%, and the description adds some meaning for the undocumented commentable_id and commentable_type parameters by mentioning 'collection / lightbox' and 'comment context.' However, it does not explain commentable_id itself, and q/page/per_page are already well-described in the schema. This provides moderate added value, earning a 3.

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?

The description clearly states a specific verb ('Search') and resource ('memberships'), further scoped by context ('within a comment context (collection / lightbox)'). This distinguishes it from sibling tools like list_memberships and find_membership by indicating a focused use case.

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?

The description gives a clear usage context: 'used for assignee pickers and @-mention lookups in commenting flows.' This tells the agent when to use this tool, but it does not explicitly mention alternatives or when not to use it, 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mediagraph-io/mediagraph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server