Skip to main content
Glama

retrieve_ssi

Retrieve your current Social Selling Index (SSI) using the Linked API MCP server. Integrate with AI assistants to enhance LinkedIn activities like lead generation and profile analysis.

Instructions

Allows you to retrieve your current SSI (Social Selling Index) (st.retrieveSSI action).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Defines the RetrieveSSITool class, the direct handler for the 'retrieve_ssi' tool. It specifies the tool name, empty input schema, description, and maps to the retrieveSSI operation from linkedapi-node.
    export class RetrieveSSITool extends OperationTool<unknown, unknown> { public override readonly operationName = OPERATION_NAME.retrieveSSI; public override readonly name = 'retrieve_ssi'; protected override readonly schema = z.object({}); public override getTool(): Tool { return { name: this.name, description: 'Allows you to retrieve your current SSI (Social Selling Index) (st.retrieveSSI action).', inputSchema: { type: 'object', properties: {}, }, }; } }
  • Zod schema for input validation: empty object (no parameters). Also defines inputSchema in getTool().
    protected override readonly schema = z.object({});
  • Instantiates RetrieveSSITool and registers it in the LinkedApiTools.tools array.
    new RetrieveSSITool(progressCallback),
  • Base OperationTool class provides the execute method that performs the actual tool logic by locating the matching operation and calling executeWithProgress.
    export abstract class OperationTool<TParams, TResult> extends LinkedApiTool<TParams, TResult> { public abstract readonly operationName: TOperationName; public override execute({ linkedapi, args, workflowTimeout, progressToken, }: { linkedapi: LinkedApi; args: TParams; workflowTimeout: number; progressToken?: string | number; }): Promise<TMappedResponse<TResult>> { const operation = linkedapi.operations.find( (operation) => operation.operationName === this.operationName, )! as Operation<TParams, TResult>; return executeWithProgress(this.progressCallback, operation, workflowTimeout, { params: args, progressToken, }); } }
  • The LinkedApiMCPServer exposes the list of tools (including retrieve_ssi) to the MCP protocol via getTools().
    public getTools(): Tool[] { return this.tools.tools.map((tool) => tool.getTool()); }

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/Linked-API/linkedapi-mcp'

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