Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

get_frequency_cap

Read-onlyIdempotent

Retrieve a company's frequency cap to see the maximum marketing emails a contact can receive in a rolling window, and check whether no cap is set.

Instructions

Get the company frequency cap: the most marketing emails (campaigns plus marketing sequence emails) one contact may receive in a rolling window. frequencyCap is null when no cap is set. Only sequences with frequencyCapEnabled respect it: their email steps are skipped for a contact already at the cap, and the contact moves to the next step. Campaigns count toward the cap but always send. Transactional emails never count and are never skipped.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_frequency_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany ID. If not provided, uses the currently selected company.

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
valueNoFallback object wrapper used only when a tool returns a non-object value.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
frequencyCapNoThe company cap {maxEmails, windowHours}: at most maxEmails marketing emails per contact in any windowHours. Null when no cap is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description's job is added semantics — and it delivers: it discloses that frequencyCap may be null, that only sequences with frequencyCapEnabled obey the cap by skipping email steps and advancing, that campaigns count toward the cap but always send, and that transactional email is never counted or skipped. These are non-obvious enforcement behaviors an agent cannot get from annotations.

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?

Front-loaded with the definition, then supporting rules in short declarative sentences. The campaign/transactional sentences are slightly beyond the strict scope of 'get the cap', but they earn their place by explaining how the returned value is actually applied.

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 one-optional-param read with full schema coverage, an output schema and complete annotations, this is nearly complete; only an explicit pointer to set_frequency_cap/clear_frequency_cap and any permission requirement are missing.

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?

Single optional companyId at 100% schema description coverage, and the schema already states the fallback to the currently selected company. The description adds no further meaning about the parameter, so the baseline 3 applies.

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?

Names a specific verb and resource ('Get the company frequency cap') and immediately defines the concept in operational terms: the max marketing emails (campaigns plus marketing sequence emails) one contact may receive in a rolling window. An agent can distinguish this read from set_frequency_cap/clear_frequency_cap purely from the verb-resource pairing.

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?

Usage is only implied: it is clearly the inspection half of a set/get/clear trio, and the enforcement rules help interpret the result, but the description never says when to call this versus set_frequency_cap or clear_frequency_cap, nor any prerequisite for reading company-level settings.

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