Skip to main content
Glama

get_membership

Fetch a compact membership summary using its ID, returning key details about the user, role, and project in one quick lookup.

Instructions

Get a compact membership summary by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
membership_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
role_idsYes
can_updateYes
created_atNo
project_idYes
role_namesYes
updated_atNo
principal_idYes
project_nameYes
principal_nameYes
can_update_immediatelyYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv0.3.7
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / properties / url
      Removed value: -{
      -  "title": "Url",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "principal_id",
      -  "principal_name",
      -  "project_id",
      -  "project_name",
      -  "role_ids",
      -  "role_names",
      -  "can_update",
      -  "can_update_immediately",
      -  "url"
      -]New value: +[
      +  "id",
      +  "principal_id",
      +  "principal_name",
      +  "project_id",
      +  "project_name",
      +  "role_ids",
      +  "role_names",
      +  "can_update",
      +  "can_update_immediately"
      +]
  2. Addedv0.3.3
  3. Removedv0.3.0
  4. First observedv0.2.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description is the only safety signal; 'Get' implies a read-only operation and 'compact summary' hints at the response shape. It does not disclose permissions, error behavior, or handling of unknown ids, but for a simple getter this is minimally acceptable.

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?

One short sentence with no redundant words; 'Get a compact membership summary by id' is front-loaded and immediately usable.

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?

Given one required parameter and the presence of an output schema, the description is nearly sufficient for a basic get-by-id call. It would be more complete with an explicit pointer to list_project_memberships for discovering ids or a note on membership scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description's 'by id' does tell the agent that membership_id is the lookup key. It adds no detail on the integer format, source, or validation, so it only partially compensates for the missing schema documentation.

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 uses the specific verb 'Get,' names the resource 'compact membership summary,' and qualifies it by 'id.' This clearly marks it as a single-record fetch and distinguishes it from the plural list_project_memberships sibling.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or alternative guidance. 'by id' implies usage when the caller has a membership id, but list_project_memberships is never mentioned, so the tool cannot be selected against alternatives with full confidence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/jtauschl/openproject-ce-mcp'

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