Skip to main content
Glama

cortex_disable_responder

Remove an enabled responder from the current organization using its internal responder ID.

Instructions

Disable (remove) an enabled responder from the current organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
responderIdYesThe enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)

Implementation Reference

  • The handler function for the 'cortex_disable_responder' tool. It calls client.deleteResponder(responderId) to disable/remove an enabled responder from the current organization.
    server.tool(
      "cortex_disable_responder",
      "Disable (remove) an enabled responder from the current organization",
      {
        responderId: z
          .string()
          .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"),
      },
      async ({ responderId }) => {
        try {
          await client.deleteResponder(responderId);
          return {
            content: [
              {
                type: "text" as const,
                text: `Responder "${responderId}" has been disabled and removed from the organization.`,
              },
            ],
          };
        } catch (error) {
          return {
            content: [
              {
                type: "text" as const,
                text: `Error disabling responder: ${error instanceof Error ? error.message : String(error)}`,
              },
            ],
            isError: true,
          };
        }
      },
    );
  • Input schema: requires a single 'responderId' string parameter (the internal enabled responder ID, not the definition ID).
    {
      responderId: z
        .string()
        .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"),
    },
  • The tool is registered via server.tool() within the registerResponderDefinitionTools function in src/tools/responder-definitions.ts.
    server.tool(
      "cortex_disable_responder",
      "Disable (remove) an enabled responder from the current organization",
      {
        responderId: z
          .string()
          .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"),
      },
      async ({ responderId }) => {
        try {
          await client.deleteResponder(responderId);
          return {
            content: [
              {
                type: "text" as const,
                text: `Responder "${responderId}" has been disabled and removed from the organization.`,
              },
            ],
          };
        } catch (error) {
          return {
            content: [
              {
                type: "text" as const,
                text: `Error disabling responder: ${error instanceof Error ? error.message : String(error)}`,
              },
            ],
            isError: true,
          };
        }
      },
    );
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Only states 'disable (remove)', implying destructive action, but lacks details on reversibility, side effects, or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, no filler words, directly conveys purpose with important qualifiers. Front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-parameter tool with no output schema, description is largely sufficient. Could mention error handling (e.g., if responder already disabled) but overall complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%. Description adds value by clarifying the responderId is the internal ID from cortex_list_responders, not the definition ID, helping avoid confusion.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the action (disable/remove) and resource (enabled responder) with scope (current organization). Distinguished from siblings like cortex_enable_responder and cortex_disable_analyzer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or alternatives given. Usage is implied via the action description, but no guidance on prerequisites or when to use other tools like cortex_enable_responder.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/solomonneas/cortex-mcp'

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