Skip to main content
Glama
getmasv

masv

Official

get_team_members

Retrieve a list of all team members with membership IDs, email, name, policy, approval status, and teamspaces. Use membership IDs to configure portal access lists when creating private portals.

Instructions

Get list of all team members. Returns member details including id (membership_id), email, name, policy, approval status, and teamspaces. Use this to get membership IDs needed for portal access_list when creating private portals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual async function that fetches team members from the MASV API (GET /v1/teams/{teamId}/members). Returns the JSON response.
    async function getTeamMembers(_params: GetTeamMembersParams) {
        const url = new URL(`${MASV_BASE_URL}/v1/teams/${MASV_TEAM_ID}/members`);
    
        const headers = {
            "content-type": "application/json",
            "x-api-key": MASV_API_KEY,
        };
    
        const r = await fetch(url.toString(), { headers });
        const data = await r.json();
    
        return data;
    }
  • Zod schema for get_team_members - empty object since it takes no parameters.
    const GetTeamMembersSchema = z.object({});
  • src/index.ts:406-422 (registration)
    Registration of the 'get_team_members' tool with the MCP server, including its description and handler that calls getTeamMembers().
    server.registerTool(
      "get_team_members",
      {
        description:
          "Get list of all team members. Returns member details including id (membership_id), email, name, policy, approval status, and teamspaces. Use this to get membership IDs needed for portal access_list when creating private portals.",
        inputSchema: GetTeamMembersSchema.shape,
      },
      async (args) => {
        try {
          const data = await getTeamMembers(args);
    
          return mcpOk(data);
        } catch (error) {
          return mcpError(error);
        }
      },
    );
  • Exports of GetTeamMembersSchema and getTeamMembers for use in registration.
    export {
        GetTeamMembersSchema,
        getTeamMembers,
    };
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the tool is a read-only list operation that returns specific fields. It does not address auth, rate limits, or data freshness, but for a simple list tool this is adequate.

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?

Two sentences: first states purpose and return fields, second gives usage guidance. No wasted words, front-loaded with essential information.

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?

Given no parameters, no output schema, and no annotations, the description is complete. It covers the action, return fields, and a practical use case, leaving no significant gaps for a simple list tool.

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?

The input schema has no parameters, and schema description coverage is 100% trivially. Per guidelines, zero parameters yields a baseline of 4. The description adds no param info, which is appropriate.

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 'Get list of all team members', specifying the verb and resource. It lists return fields and a specific use case, distinguishing it from sibling tools which involve portals and packages.

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 provides explicit context: 'Use this to get membership IDs needed for portal access_list when creating private portals.' It indicates when to use, but does not exclude alternatives or mention when not to use.

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/getmasv/masv-mcp-server'

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