Skip to main content
Glama

SendGrid MCP Server

by deyikong

update_segment

Modify an existing segment's name or query criteria to refine audience targeting and contact organization in SendGrid email marketing campaigns.

Instructions

Update an existing segment's name or query criteria

Input Schema

NameRequiredDescriptionDefault
nameNoNew name for the segment
query_dslNoNew query criteria for the segment (JSON string)
segment_idYesID of the segment to update

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "New name for the segment", "type": "string" }, "query_dsl": { "description": "New query criteria for the segment (JSON string)", "type": "string" }, "segment_id": { "description": "ID of the segment to update", "type": "string" } }, "required": [ "segment_id" ], "type": "object" }

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