Skip to main content
Glama

connectors_query

Pull live data from connected business sources like Shopify, Stripe, and Google Analytics using connector URIs for analysis and reporting.

Instructions

Pull live data from a connected source using connector:// URIs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYesConnector URI (e.g., connector://mcpanalytics_gsc/search_analytics?...)

Implementation Reference

  • The `CallToolRequestSchema` handler in `src/index.js` dynamically proxies all tool calls, including `connectors_query`, to the remote MCP server (`remoteClient.callTool`). The tools themselves are not implemented locally, but are fetched from the remote server's catalog at runtime.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      try {
        const result = await remoteClient.callTool({
          name: request.params.name,
          arguments: request.params.arguments || {},
        });
        return result;
      } catch (err) {
        return {
          content: [{ type: "text", text: `Error: ${err.message}` }],
          isError: true,
        };
      }
    });

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/embeddedlayers/mcp-analytics'

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