Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

Open Segment Creator

open_segment_creator

Open SendGrid's segment creator in your browser to build targeted email lists based on contact conditions.

Instructions

Open SendGrid segment creator in browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the open_segment_creator tool. Returns a text response instructing the user to open the SendGrid segment creator URL in their browser.
    open_segment_creator: {
      config: {
        title: "Open Segment Creator",
        description: "Open SendGrid segment creator in browser",
      },
      handler: async (): Promise<ToolResult> => {
        return {
          content: [
            {
              type: "text",
              text: "Please open this URL in your browser to create a new segment:\nhttps://mc.sendgrid.com/contacts/segments/create",
            },
          ],
        };
      },
    },
  • Aggregates all tool definitions including contactTools (which contains open_segment_creator) into a single allTools export.
    export const allTools = {
      ...automationTools,
      ...campaignTools,
      ...contactTools,
      ...mailTools,
      ...miscTools,
      ...statsTools,
      ...templateTools,
    };
  • src/index.ts:21-23 (registration)
    Registers each tool (including open_segment_creator) with the MCP server using the tool name as key and its config/handler.
    for (const [name, tool] of Object.entries(allTools)) {
      server.registerTool(name, tool.config as any, tool.handler as any);
    }
Behavior2/5

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

No annotations are provided, yet the description only says 'open in browser' without disclosing if authentication is needed, what happens upon failure, or any side effects. Minimal behavioral detail.

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

Conciseness4/5

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

The description is extremely concise (one sentence) and front-loaded. However, it lacks any structure or additional detail that might aid comprehension.

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 no output schema, no annotations, and no parameters, the description should still note prerequisites, return behavior, or success conditions. It provides only the barest indication of what the tool does.

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?

No parameters exist, so schema coverage is 100%. The baseline for 0 parameters is 4, and the description does not add parameter information since there are none.

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?

The description clearly states the action ('open') and the resource ('SendGrid segment creator in browser'). It distinguishes itself from sibling 'open_*' tools by specifying the exact UI component.

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?

No guidance on when to use this tool versus alternatives (e.g., other 'open_*' tools or API-based creation). It does not mention that no create_segment API exists, which would justify using this tool.

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/deyikong/sendgrid-mcp'

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