Skip to main content
Glama

Linked API MCP

by Linked-API
check-connection-status.ts1.21 kB
import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { OPERATION_NAME, TCheckConnectionStatusParams, TCheckConnectionStatusResult, } from 'linkedapi-node'; import { z } from 'zod'; import { OperationTool } from '../utils/linked-api-tool.js'; export class CheckConnectionStatusTool extends OperationTool< TCheckConnectionStatusParams, TCheckConnectionStatusResult > { public override readonly name = 'check_connection_status'; public override readonly operationName = OPERATION_NAME.checkConnectionStatus; protected override readonly schema = z.object({ personUrl: z.string(), }); public override getTool(): Tool { return { name: this.name, description: 'Allows you to check the connection status between your account and another person (st.checkConnectionStatus action).', inputSchema: { type: 'object', properties: { personUrl: { type: 'string', description: "Public or hashed LinkedIn URL of the person you want to check the connection status with. (e.g., 'https://www.linkedin.com/in/john-doe')", }, }, required: ['personUrl'], }, }; } }

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