Skip to main content
Glama
ATOM00blue

Drin MCP Server

by ATOM00blue

create_segment

Create a saved audience segment by defining match logic and conditions on contact fields like email, name, or custom metadata. Unsubscribed and suppressed contacts are automatically excluded.

Instructions

Create a saved audience segment. definition is { match: "all"|"any", conditions: [{ field, op, value? }] } over email/firstName/lastName/createdAt/metadata. with ops eq/neq/contains/not_contains/exists/not_exists/gt/lt. Omit it to match every contact. Resolution is always live and always excludes unsubscribed/suppressed contacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSegment name, e.g. "Pro-plan users".
senderNoProduct/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender.
definitionNoThe audience filter. Example: {"match":"all","conditions":[{"field":"metadata.plan","op":"eq","value":"pro"}]}.
descriptionNo
Behavior4/5

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

No annotations provided, but the description discloses that resolution is always live and excludes unsubscribed/suppressed contacts. This adds valuable behavioral context beyond the schema.

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?

Three sentences, each adding value. Purpose is front-loaded, and the structure is clear and efficient.

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 no output schema, the description sufficiently covers inputs, behavior, and constraints. It provides enough information for a creation tool with nested objects.

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?

Schema coverage is 75%, but the description adds detailed structure for the nested definition parameter, including fields, operators, and an example, which goes beyond the schema's brief description.

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 starts with 'Create a saved audience segment' which is a specific verb and resource. It clearly distinguishes from siblings like list_segments, get_segment, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to omit definition to match every contact, and provides example usage. While it doesn't explicitly compare to alternatives, the context is clear enough for an agent.

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/ATOM00blue/drin-mcp'

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