Skip to main content
Glama

anytype_get_member

Retrieve a specific member's details from an Anytype space using their member ID and space ID.

Instructions

Obtiene un miembro específico

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
space_idYesID del espacio
member_idYesID del miembro

Implementation Reference

  • Handler function that extracts space_id and member_id from arguments, makes API request to /v1/spaces/{space_id}/members/{member_id}, and returns the JSON response as text content.
    export async function handleGetMember(args: any) {
      const { space_id, member_id } = args;
      const response = await makeRequest(`/v1/spaces/${space_id}/members/${member_id}`);
      return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] };
    }
  • Tool schema definition including name, description, and input schema requiring space_id and member_id.
        name: 'anytype_get_member',
        description: 'Obtiene un miembro específico',
        inputSchema: {
          type: 'object',
          properties: {
            space_id: { type: 'string', description: 'ID del espacio' },
            member_id: { type: 'string', description: 'ID del miembro' },
          },
          required: ['space_id', 'member_id'],
        },
      },
    ];
  • src/index.ts:118-119 (registration)
    Switch case in the main tool dispatcher that routes 'anytype_get_member' calls to the handleGetMember handler.
    case 'anytype_get_member':
      return await handleGetMember(args);

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/cryptonahue/mcp-anytype'

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