Skip to main content
Glama

AI SDR Kit by Zevari

content_dna_patch

Save or edit the customer's Content DNA sections with patch semantics: omitted sections are retained, typed empties clear, null is always rejected. Every write requires expected_revision (CAS). Post-auth surface. Read content_dna_get first and re-read on content_dna_conflict.

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": {
      "expected_revision": "<expected_revision>"
    },
    "name": "content_dna_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
skip_fieldsNo
top_formatsNo
clear_fieldsNo
core_beliefsNo
origin_storyNo
customer_nameNo
writing_styleNo
icp_and_stanceNo
expected_revisionYesCompare-and-swap token (integer) from content_dna_get; mismatch returns content_dna_conflict
blocklist_extensionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description must carry the whole behavioral burden, and it does substantial work: it declares the exact patch rules (omitted sections retained, typed empties clear, null rejected), the exclusive CAS write requirement, the conflict outcome, and that this is a post-auth surface. It still leaves unstated what happens on partial failure within a multi-section patch and what a successful response looks like.

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?

Four short sentences, each carrying a distinct load: purpose, patch semantics, write precondition, and workflow ordering. The most decision-relevant constraints (patch semantics and the CAS requirement) are front-loaded with no filler.

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

Completeness3/5

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

For a 10-parameter mutation tool with no annotations and no output schema, the description covers the core mechanics, conflict handling, and auth posture well. The critical remaining gap is the shape of the section payloads an agent must construct, plus any statement about atomicity or what a success result contains.

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 only 10%, with 9 of 10 parameters being opaque free-form objects, so the description should have compensated more. It does explain the meaning of values (typed empties clear, null rejected) and the role of expected_revision, but says nothing about what belongs inside core_beliefs, writing_style, icp_and_stance, or the other section objects, leaving their payload shape entirely unknown.

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 ('Save or edit the customer's Content DNA sections') and immediately qualifies it with patch semantics, so the agent knows this is a partial-write tool rather than a full replace. The sibling content_dna_get is named as the read counterpart, which further pins down what this tool is not.

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?

Gives an explicit call ordering ('Read content_dna_get first and re-read on content_dna_conflict') plus the precondition that every write needs expected_revision from that read. It stops short of stating when not to use this tool (e.g., when to prefer a full save) and does not enumerate alternative write paths, so it is clear context without full routing guidance.

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.