Skip to main content
Glama

update_integration_setup

Configure webhook notifications for search completion alerts by setting the callback URL that receives updates when searches finish.

Instructions

Update integration configuration. Set the webhook URL that receives notifications when a search completes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
return_urlYesURL that will receive webhook notifications when a search completes

Implementation Reference

  • The handler implementation for the update_integration_setup MCP tool, which updates the integration configuration via a PUT request.
    server.tool(
      "update_integration_setup",
      "Update integration configuration. Set the webhook URL that receives notifications when a search completes.",
      {
        return_url: z.string().url("Must be a valid URL").max(2048).describe("URL that will receive webhook notifications when a search completes"),
      },
      async (params) => {
        try {
          const data = await apiPut("/setup", { return_url: params.return_url });
          return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
        } catch (e) {
          return { content: [{ type: "text", text: String(e) }], isError: true };
        }
      }
    );
  • The Zod schema definition for the input parameters (return_url) of the update_integration_setup tool.
    {
      return_url: z.string().url("Must be a valid URL").max(2048).describe("URL that will receive webhook notifications when a search completes"),
    },
  • The MCP server tool registration for update_integration_setup.
    server.tool(
      "update_integration_setup",
      "Update integration configuration. Set the webhook URL that receives notifications when a search completes.",
      {
        return_url: z.string().url("Must be a valid URL").max(2048).describe("URL that will receive webhook notifications when a search completes"),
      },
      async (params) => {
        try {
          const data = await apiPut("/setup", { return_url: params.return_url });
          return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
        } catch (e) {
          return { content: [{ type: "text", text: String(e) }], isError: true };
        }
      }
    );
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that this is a mutation tool ('Update') and specifies the webhook's purpose, but lacks critical behavioral details: whether it requires specific permissions, if changes are reversible, what happens to existing settings not mentioned, or any rate limits/error handling. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

The description is two concise sentences with zero waste. The first sentence states the overall purpose, and the second adds specific detail about the webhook. It's front-loaded and appropriately sized for a single-parameter tool.

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

Completeness2/5

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

Given this is a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., success confirmation, error details), behavioral constraints, or integration with sibling tools. For a configuration update operation, more context is needed to guide effective use.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents the single parameter 'return_url'. The description adds marginal value by reiterating the parameter's purpose ('webhook URL that receives notifications when a search completes'), but doesn't provide additional semantics beyond what's in the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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

Purpose4/5

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

The description clearly states the verb 'Update' and the resource 'integration configuration', specifying it sets a webhook URL for notifications when searches complete. It distinguishes from sibling tools like 'get_integration_setup' by focusing on mutation rather than retrieval. However, it doesn't explicitly contrast with other update-like tools (none are listed), so it's not a perfect 5.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing admin access), when not to use it, or how it relates to sibling tools like 'get_integration_setup' for checking current settings. Usage is implied by the action but not explicitly framed.

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/rolliinc/rolli-mcp'

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