Skip to main content
Glama
hackle-io
by hackle-io

remote-config-detail

Fetch detailed information for a specific remote configuration using the provided remoteConfigId, enabling efficient querying and management of A/B test data on the Hackle MCP server.

Instructions

Fetch remote config detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
remoteConfigIdYesRemote config's id. You can get this information by using Remote Config List Tool.

Implementation Reference

  • The handler function that fetches the remote config detail via WebClient.get and returns JSON-stringified response as text content.
    async ({ remoteConfigId }) => { return { content: [ { type: 'text', text: JSON.stringify(await WebClient.get(`/api/v1/remote-configs/${remoteConfigId}`)), }, ], }; },
  • Zod input schema defining remoteConfigId as a positive number.
    { remoteConfigId: z .number() .positive() .describe("Remote config's id. You can get this information by using Remote Config List Tool."), },
  • src/index.ts:347-366 (registration)
    Registers the remote-config-detail tool on the McpServer with name, description, input schema, and handler.
    server.tool( 'remote-config-detail', 'Fetch remote config detail.', { remoteConfigId: z .number() .positive() .describe("Remote config's id. You can get this information by using Remote Config List Tool."), }, async ({ remoteConfigId }) => { return { content: [ { type: 'text', text: JSON.stringify(await WebClient.get(`/api/v1/remote-configs/${remoteConfigId}`)), }, ], }; }, );

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/hackle-io/hackle-mcp'

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