get_blocks

Pack: sendgrid · Endpoint: https://gateway.pipeworx.io/sendgrid/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_blocks for the schema, then POST the same URL with its arguments for the data.

List email addresses that have been blocked by SendGrid. These are emails that were rejected due to receiving server issues. Example: get_blocks({ limit: 50, _apiKey: “SG.xxx” })

Parameters

NameTypeRequiredDescription
limitnumbernoMax results to return (default 100, max 500)
_apiKeystringyesSendGrid API key (SG.xxx)

Example call

Arguments

{
  "_apiKey": "your-sendgrid-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/sendgrid/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_blocks","arguments":{"_apiKey":"your-sendgrid-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_blocks', {
  "_apiKey": "your-sendgrid-api-key"
});

More examples

{
  "limit": 50,
  "_apiKey": "your-sendgrid-api-key"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "List of blocked email addresses"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "sendgrid": {
      "url": "https://gateway.pipeworx.io/sendgrid/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026