Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

Open CSV Uploader

open_csv_uploader

Opens the CSV contact upload page in SendGrid's interface, enabling direct upload of contact lists from your browser.

Instructions

Open SendGrid CSV contact upload page in browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool definition for 'open_csv_uploader' including its config (title, description) and handler. The handler returns a text message instructing the user to open the CSV upload URL at https://mc.sendgrid.com/contacts/import/upload-csv in their browser.
    open_csv_uploader: {
      config: {
        title: "Open CSV Uploader",
        description: "Open SendGrid CSV contact upload page in browser",
      },
      handler: async (): Promise<ToolResult> => {
        return {
          content: [
            {
              type: "text",
              text: "Please open this URL in your browser to upload contacts via CSV:\nhttps://mc.sendgrid.com/contacts/import/upload-csv",
            },
          ],
        };
      },
    },
  • Registration point where contactTools (including open_csv_uploader) is spread into the allTools export object.
    import { automationTools } from "./automations.js";
    import { campaignTools } from "./campaigns.js";
    import { contactTools } from "./contacts.js";
    import { mailTools } from "./mail.js";
    import { miscTools } from "./misc.js";
    import { statsTools } from "./stats.js";
    import { templateTools } from "./templates.js";
    
    export const allTools = {
      ...automationTools,
      ...campaignTools,
      ...contactTools,
      ...mailTools,
      ...miscTools,
      ...statsTools,
      ...templateTools,
    };
  • Reference to open_csv_uploader in the help prompt text, listing it under 'Senders & Import' section.
    - open_csv_uploader: Open CSV upload interface
    
    Lists are collections of contacts, while segments are filtered subsets of lists based on criteria you define. Custom fields let you store additional contact information beyond email, first name, and last name.
    
    How can I help you with your contact management?`,
              },
            },
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It states the tool opens a page in a browser, which is straightforward, but does not disclose any prerequisites, side effects, or authentication requirements.

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 a single sentence that is front-loaded and contains no extraneous information. Every word is essential.

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?

Given the simplicity of the tool (no parameters, no output schema), the description is sufficient. It could mention that a browser environment is needed, but this is implied.

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?

There are no parameters in the input schema, so the description does not need to add parameter meaning. The description adequately describes the tool's action without needing parameter details.

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 uses a specific verb 'open' and clearly identifies the resource 'SendGrid CSV contact upload page'. It is distinct from sibling tools that also start with 'open_'.

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 other 'open' tools like open_automation_creator or open_single_send_creator. The context of use is implied but not explicit.

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