Skip to main content
Glama
lindoai

mcp-lindoai

Official

Add Team Member

add_workspace_team_member

Add a team member to the workspace by providing their email and role. Control access and permissions based on assigned roles.

Instructions

Add a team member to the workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesTeam member email
roleYesTeam member role

Implementation Reference

  • Registration of the 'add_workspace_team_member' tool using server.registerTool()
    server.registerTool(
      "add_workspace_team_member",
      {
        title: "Add Team Member",
        description: "Add a team member to the workspace.",
        inputSchema: {
        email: z.string().describe("Team member email"),
        role: z.string().describe("Team member role"),
      },
        annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false },
      },
      async ({ email, role }) => {
        const data = await apiCall("/v1/workspace/team", "POST", { email, role });
        return { content: [{ type: "text", text: JSON.stringify(data?.result ?? data, null, 2) }] };
      }
    );
  • Input schema for add_workspace_team_member: requires email (string) and role (string)
      inputSchema: {
      email: z.string().describe("Team member email"),
      role: z.string().describe("Team member role"),
    },
  • Handler function that POSTs email and role to /v1/workspace/team
    async ({ email, role }) => {
      const data = await apiCall("/v1/workspace/team", "POST", { email, role });
      return { content: [{ type: "text", text: JSON.stringify(data?.result ?? data, null, 2) }] };
    }
  • apiCall helper used by the handler to make HTTP requests to the Lindo API
    async function apiCall(path, method, body) {
      const url = `${BASE_URL}${path}`;
      const res = await fetch(url, {
        method,
        headers: {
          Authorization: `Bearer ${API_KEY}`,
          "Content-Type": "application/json",
        },
        ...(body ? { body: JSON.stringify(body) } : {}),
      });
      return res.json();
    }
Behavior2/5

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

Annotations indicate it is not read-only (readOnlyHint=false) and not destructive (destructiveHint=false). The description does not add any behavioral detail beyond that, such as idempotency, side effects, or error conditions. For a mutation tool, more transparency is expected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is extremely concise (one sentence, 8 words). It is front-loaded and clear. However, it sacrifices substance for brevity.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple parameters and no output schema, the description is insufficiently complete. It does not explain how the workspace is identified (no workspace parameter), whether an invitation is sent, or if duplicates are prevented. An agent would need more context for reliable invocation.

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?

The schema description coverage is 100% (both 'email' and 'role' have descriptions). The tool description adds no extra meaning beyond the schema. The baseline of 3 is appropriate since the schema is self-sufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Add a team member') and the resource ('to the workspace'). It distinguishes from sibling tools like 'remove_workspace_team_member' and 'get_workspace_team'. However, it lacks specificity about the manner of addition (by email and role), which the schema provides but the description could hint.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives, nor are any prerequisites or context provided (e.g., admin permissions, workspace existence). The description is too sparse to help an agent decide appropriateness.

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

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