Skip to main content
Glama

Metadata MCP Connector

Create Target Group

create_target_group

Create a LinkedIn target group with a name, include rules, and optional exclusions. Criteria and audience references are validated against the account and channel. Returns the group or validation/platform errors.

Input Schema

NameRequiredDescriptionDefault
nameYesThe name for the new target group. Must be unique, descriptive, and UNDER 50 characters — the platform rejects 50+ character names with a 400.
channelYesThe advertising channel for the target group. Only LINKEDIN is currently supported.
targetingNoComplete targeting configuration with include/exclude rules...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / targeting / properties / exclude / properties / audiences / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / targeting / properties / exclude / properties / audiences / items / properties
      Added value: +{
      +  "criteria": {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "data": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "externalId": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "id": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "countries": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                },
      +                "states": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ],
      +          "description": "Channel criterion values returned by the criteria search tools."
      +        },
      +        "type": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "data"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "inactive": {
      +    "type": "boolean"
      +  },
      +  "matchCount": {
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "matchCountType": {
      +    "type": "string"
      +  },
      +  "mdAudienceId": {
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "type": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / targeting / properties / exclude / properties / audiences / items / required
      Added value: +[
      +  "mdAudienceId"
      +]
    • addedInput schema / properties / targeting / properties / exclude / properties / criteria / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / targeting / properties / exclude / properties / criteria / items / properties
      Added value: +{
      +  "data": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "externalId": {
      +              "type": [
      +                "string",
      +                "integer"
      +              ]
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "integer"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": true,
      +        "properties": {
      +          "countries": {
      +            "items": {
      +              "type": "integer"
      +            },
      +            "type": "array"
      +          },
      +          "states": {
      +            "items": {
      +              "type": "integer"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    ],
      +    "description": "Channel criterion values returned by the criteria search tools."
      +  },
      +  "type": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / targeting / properties / exclude / properties / criteria / items / required
      Added value: +[
      +  "type",
      +  "data"
      +]
    • addedInput schema / properties / targeting / properties / include / items / properties / audiences / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / targeting / properties / include / items / properties / audiences / items / properties
      Added value: +{
      +  "criteria": {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "data": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "externalId": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "id": {
      +                    "type": [
      +                      "string",
      +                      "integer"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "countries": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                },
      +                "states": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ],
      +          "description": "Channel criterion values returned by the criteria search tools."
      +        },
      +        "type": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "data"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "inactive": {
      +    "type": "boolean"
      +  },
      +  "matchCount": {
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "matchCountType": {
      +    "type": "string"
      +  },
      +  "mdAudienceId": {
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "type": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / targeting / properties / include / items / properties / audiences / items / required
      Added value: +[
      +  "mdAudienceId"
      +]
    • addedInput schema / properties / targeting / properties / include / items / properties / criteria / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / targeting / properties / include / items / properties / criteria / items / properties / data / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "externalId": {
      +          "type": [
      +            "string",
      +            "integer"
      +          ]
      +        },
      +        "id": {
      +          "type": [
      +            "string",
      +            "integer"
      +          ]
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "countries": {
      +        "items": {
      +          "type": "integer"
      +        },
      +        "type": "array"
      +      },
      +      "states": {
      +        "items": {
      +          "type": "integer"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / targeting / properties / include / items / properties / criteria / items / properties / data / description
      Added value: +"Channel criterion values returned by the criteria search tools."
    • addedInput schema / properties / targeting / properties / include / items / properties / criteria / items / required
      Added value: +[
      +  "type",
      +  "data"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare mutation (readOnlyHint=false) with destructiveHint=false and a closed-world scope, so the safety bar is lower. The description adds real value beyond that: it warns that criteria and audience references are validated server-side against the account and channel, and states the failure mode (validation/platform errors) alongside the success return, which tells the agent to expect rejection rather than silent coercion.

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, no filler: identity of the operation first, the validation constraint second, the return/error contract last. Every sentence carries information an agent would not get from the structured fields alone.

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?

For a nested three-parameter creation tool with no output schema, the description covers the essentials: what is created, what gets validated, and what comes back. It doesn't cover permission/connection requirements or suggest estimating audience size before committing, and the "include rules" phrasing slightly overstates an optional field.

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% and the nested targeting/exclude structures are documented in-schema, so the baseline of 3 applies. The description only restates the parameter surface (name, include, exclusions) without adding format, cardinality, or channel-specific criterion-type guidance. One nuance: it frames include rules as part of the create payload while `targeting` is in fact optional — a mild imprecision the schema corrects.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Create a LinkedIn target group") and enumerates the composition (name, include rules, optional exclusions), which cleanly separates it from update_target_group, retrieve_target_group_by_id, list_target_groups and create_reddit_target_group. It stops short of naming any sibling explicitly, so differentiation is inferable rather than stated.

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

Usage Guidelines3/5

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

No explicit when-to-use/when-not guidance and no pointer to adjacent tools an agent would need before calling it (search_target_group_criteria, estimate_target_group, list_target_groups for duplicate-name checks). The line about criteria and audience references being "validated against the account and channel" implies a prerequisite ordering but doesn't state it as a workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources