Skip to main content
Glama

Acrescentar regra de cadência

add_cadence_rule
Idempotent

Saves one workspace rule for how messages read, in the user's words: tone, wording, language, what never to claim, price, links, what to say first (e.g. "nunca fale de preço na primeira mensagem", "sempre em português", "não cite concorrentes"). Every cadence written afterwards follows it; existing cadences change only when rewritten. The number of steps, their days and channels are campaign settings, not rules. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rule": "<rule>"
    },
    "name": "add_cadence_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYesThe rule as the user said it, one sentence. Keep where it applies when they said it ("nas frias", "na campanha X").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important behavior: new cadences follow the rule, existing cadences change only when rewritten, and the operation is free. This adds useful propagation and cost context beyond idempotent and non-destructive hints.

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 front-loaded with what the tool does and then adds examples, propagation behavior, and exclusions. It is somewhat dense but every sentence contributes useful selection or usage context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no output schema, it covers purpose, rule content, propagation effects, exclusions, and cost. An agent has enough context to decide when to call it and what kind of string to provide.

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 already high, but the description adds meaning by enumerating the kinds of content that belong in the rule and by giving example phrasings. It reinforces that the rule should be captured in the user's words and that scoping details should be preserved.

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 states a specific verb and resource: it saves one workspace-level rule governing how messages read. It clearly separates this from campaign settings by saying step count, days, and channels are not rules, which helps distinguish it from cadence-adjustment siblings.

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?

It gives clear implied usage: capture user-stated message preferences such as tone, language, prohibited claims, pricing, links, and opening content. It also provides an explicit exclusion for campaign mechanics, though it does not name a sibling alternative for editing existing rules.

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.