Skip to main content
Glama
bcharleson

Instantly MCP Server

get_account_details

Retrieve account details including warmup status, SMTP settings, and campaign eligibility for email marketing management.

Instructions

Get detailed information about a specific account including warmup status, SMTP settings, and eligibility for campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail address of the account to inspect

Implementation Reference

  • Handler implementation for 'get_account_details' tool (backward compatibility alias). Checks for required 'email' argument and fetches account details via API call to `/accounts/{email}`.
    case 'get_account':
    case 'get_account_details':  // Backward compatibility
    case 'get_account_info': {   // Backward compatibility
      console.error(`[Instantly MCP] 👤 Executing get_account (called as: ${name})...`);
    
      if (!args.email) {
        throw new McpError(ErrorCode.InvalidParams, 'Email parameter is required');
      }
    
      const accountResult = await makeInstantlyRequest(`/accounts/${args.email}`, {}, apiKey);
    
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify({
              success: true,
              account: accountResult,
              message: 'Account details retrieved successfully'
            }, null, 2)
          }
        ]
      };
    }
  • Zod input schema for get_account_details: requires a valid 'email' field.
    export const GetAccountDetailsSchema = z.object({
      email: EmailSchema
    });
  • Helper function to validate input arguments for get_account_details using Zod schema and convert errors to MCP format.
    export function validateGetAccountDetailsData(args: unknown): z.infer<typeof GetAccountDetailsSchema> {
      return validateWithSchema(GetAccountDetailsSchema, args, 'get_account_details');
    }
  • Registration of the get_account_details validator in the central TOOL_VALIDATORS mapping object.
    'get_account_details': validateGetAccountDetailsData,
  • Tool definition/registration for consolidated 'get_account' tool (includes get_account_details functionality per comment at line 6). Used in TOOLS_DEFINITION.
    {
      name: 'get_account',
      title: 'Get Account',
      description: 'Get account details, warmup status, and campaign eligibility by email',
      annotations: { readOnlyHint: true },
      inputSchema: {
        type: 'object',
        properties: {
          email: { type: 'string', description: 'Account email address' }
        },
        required: ['email']
      }
    },
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 of behavioral disclosure. While it mentions what information is retrieved, it doesn't cover critical aspects like permissions required, error handling (e.g., for non-existent accounts), rate limits, or response format. For a read operation with zero annotation coverage, this leaves significant gaps in understanding how the tool behaves.

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 a single, efficient sentence that front-loads the core purpose ('Get detailed information about a specific account') and adds specifics without redundancy. It could be slightly improved by structuring usage hints, but it avoids waste and is appropriately sized for the tool's complexity.

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 the lack of annotations and output schema, the description is incomplete for a tool that retrieves detailed account data. It lists information types but doesn't explain the return format, error cases, or dependencies. For a read operation with potential complexity (e.g., warmup status, SMTP settings), more context is needed to ensure the agent can use it effectively.

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%, with the single parameter 'email' clearly documented in the schema. The description adds no additional parameter semantics beyond implying the email is for account identification. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.

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 specific action ('Get detailed information') and resource ('about a specific account'), distinguishing it from sibling tools like 'list_accounts' (which lists multiple accounts) and 'update_account' (which modifies accounts). It also specifies the types of information included (warmup status, SMTP settings, campaign eligibility), making the purpose highly specific and differentiated.

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., whether the account must exist), exclusions (e.g., what happens for invalid emails), or comparisons to siblings like 'list_accounts' (for overviews) or 'verify_email' (for validation). Usage is implied but not explicitly stated.

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/bcharleson/Instantly-MCP'

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