Skip to main content
Glama
thenavidm

Kit MCP Server

by thenavidm

Pin a subscriber's location

pin_subscriber_location
Destructive

Pin a subscriber's location to set city, region, country, coordinates, and timezone. Requires confirm=true because it may alter delivery and audience membership.

Instructions

Pin a subscriber's location. May affect delivery, audience membership, published data or irreversible state. Requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoNamed private account from KIT_ACCOUNTS. Defaults to KIT_DEFAULT_ACCOUNT or the first configured account.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file.
locationNo
payload_fileNoLocal JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged.
subscriber_idYesPositive subscriber id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv3.0.0
    • addedInput schema / $defs
      Added value: +{
      +  "location": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "city": {
      +        "type": "string"
      +      },
      +      "country_code": {
      +        "type": "string"
      +      },
      +      "latitude": {
      +        "format": "float",
      +        "type": "number"
      +      },
      +      "longitude": {
      +        "format": "float",
      +        "type": "number"
      +      },
      +      "state_province": {
      +        "type": "string"
      +      },
      +      "timezone": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "city",
      +      "state_province",
      +      "country_code",
      +      "latitude",
      +      "longitude",
      +      "timezone"
      +    ],
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for audience/delivery changes, publishing, destructive operations and signing-secret changes. Use only for an action requested by the user."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / location / $ref
      Added value: +"#/$defs/location"
    • removedInput schema / properties / location / additionalProperties
      Removed value: -false
    • removedInput schema / properties / location / properties
      Removed value: -{
      -  "city": {
      -    "type": "string"
      -  },
      -  "country_code": {
      -    "type": "string"
      -  },
      -  "latitude": {
      -    "format": "float",
      -    "type": "number"
      -  },
      -  "longitude": {
      -    "format": "float",
      -    "type": "number"
      -  },
      -  "state_province": {
      -    "type": "string"
      -  },
      -  "timezone": {
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / location / required
      Removed value: -[
      -  "city",
      -  "state_province",
      -  "country_code",
      -  "latitude",
      -  "longitude",
      -  "timezone"
      -]
    • removedInput schema / properties / location / type
      Removed value: -"object"
    • addedInput schema / properties / payload / properties / location / $ref
      Added value: +"#/$defs/location"
    • removedInput schema / properties / payload / properties / location / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payload / properties / location / properties
      Removed value: -{
      -  "city": {
      -    "type": "string"
      -  },
      -  "country_code": {
      -    "type": "string"
      -  },
      -  "latitude": {
      -    "format": "float",
      -    "type": "number"
      -  },
      -  "longitude": {
      -    "format": "float",
      -    "type": "number"
      -  },
      -  "state_province": {
      -    "type": "string"
      -  },
      -  "timezone": {
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / payload / properties / location / required
      Removed value: -[
      -  "city",
      -  "state_province",
      -  "country_code",
      -  "latitude",
      -  "longitude",
      -  "timezone"
      -]
    • removedInput schema / properties / payload / properties / location / type
      Removed value: -"object"
  2. First observedv2.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds value beyond that by naming the blast radius ('delivery, audience membership, published data or irreversible state') and the confirm gate, though 'May affect' is hedged rather than precise.

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?

Two short sentences, front-loaded with the action and followed by impact plus the confirm requirement; nothing is wasted. It is slightly under-specified rather than verbose, which is the right side of the trade-off.

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 6-parameter, nested-object, no-output-schema mutation tool, the description covers the destructive impact and the confirm gate, which are the two things an agent most needs. The remaining gap is the location payload structure, which the schema handles.

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 coverage is 83%, so the schema already documents subscriber_id, confirm, account, payload and payload_file. The description only echoes the confirm requirement and adds no detail on the location object fields or the payload/location mutual exclusivity, so it is at the baseline.

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?

The description states a specific verb and resource ('Pin a subscriber's location'), matching the title and clearly identifying the operation. It does not name the sibling tools (update_subscriber_location, delete_subscriber_location) it must be distinguished from, but the action itself is unambiguous.

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?

It gives one concrete prerequisite ('Requires confirm=true'), which is genuinely useful for invocation. However, it never states when to prefer this over update_subscriber_location or delete_subscriber_location, nor what conditions make pinning appropriate, leaving the selection logic to inference.

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

Deploy Server

Other Tools