Skip to main content
Glama

Submit content map

submit_content_map
Destructive

Store a proposed content map: clusters of pages and topics, each with a purpose, built from the site audit findings of every market of the workspace. seodraft checks shape and citations and never judges the strategy. Free: no provider call, and new topics are stored without a paid measurement. Needs a finished audit (ready or partial) in at least one market, else ok: false with reason no_audit. References are checked against the latest finished audit of each workspace market (refs naming an older audit are unknown); a market reference copied without its [market~audit] qualifier, as maps cited them before markets, reads as the main market's latest audit (auditId in the reply). Each cluster carries name, targetTerm (the search phrase it targets), rationale, an optional priority (1 is first; when absent or tied, submitted order decides), evidence (one or more refs from get_audit_findings), a hub and members (the spokes). Clusters stay one per need: the hub and each member take an optional markets, the workspace market ids (from get_profile markets) the piece is written for, a label rather than a second membership; left out, the main market. A site that ranks for little has a map too: its clusters are built around its own topics (get_audit_findings section topics, the searches the workspace wants to win) and the competitor gaps, and cite their topic: and gap refs. A ranking the audit did not observe has no ref, so an invented rank ref is unknown and rejects the whole map. The hub and every member take exactly one of page (a page the audit saw, as a path, a full URL or its page: ref) or topic (a search phrase, in the topic bank or new). A page or topic belongs to one cluster only, and the hub is not repeated among the members. At most 12 clusters and 25 members per cluster. Validation is all or nothing: one unknown reference, one unknown page, one unknown market, one repeat or one missing field rejects the whole map and nothing is written. The rejection is ok: false with reason (empty, too_many_clusters, too_many_members, missing_field, unknown_evidence, unknown_page, unknown_market, duplicate_member or duplicate_cluster), message, unknownEvidence, unknownPages, unknownMarkets, duplicates and clusters (the ones concerned), plus pool for a corrected resubmission: total references, bySection (count and the first 25 refs of each section, every market's latest audit together) and more (how to read the rest through get_audit_findings). Topics: a term already in the bank is linked as it is, and an archived one is brought back, listed in collisions.resurrected and linked through topicsLinked. A new term is stored with the volume, difficulty and intent each market's audit observed for it, in that market (the main market's on the topic, any other market's as that market's numbers), or with no metrics where the audit did not rank it; it passes the same collision checks as add_topics (a similar topic, a published page, a page's declared keyword), and a withheld topic is reported in collisions.similar or collisions.published and not stored. A cluster whose hub topic is withheld is reported in clustersNotStored; when no cluster survives the reply is ok: false with reason no_clusters_stored, message, clustersNotStored and collisions, and nothing is written. On success the reply is ok: true, mapId, status proposed, auditId (the main market's latest audit, or the newest audit used when the main market has none), supersededMapId (the earlier proposal this one replaced, or null), clusters (each hub and member with its stored markets, empty for the main market), topicsStored, topicsLinked, collisions, clustersNotStored, declaredKeywordMismatch (a page hub whose keyword declared in the profile differs from the cluster's targetTerm: a warning, never a block) and approveHint. The approved map stays in force until approve_content_map records the human's yes to this one.

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": {
      "summary": "<summary>",
      "clusters": "<clusters>"
    },
    "name": "submit_content_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryYes
clustersYes
workspaceIdNoThe workspace this call acts on, as listed by list_workspaces. Left out, the call uses the workspace the account is in right now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / clusters / items / properties / hub / properties / markets
      Added value: +{
      +  "description": "The workspace markets this piece is for, as ids from get_profile markets (\"ar-es\", \"br-pt\"): a label, not a second membership. Left out, the main market.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / clusters / items / properties / members / items / properties / markets
      Added value: +{
      +  "description": "The workspace markets this piece is for, as ids from get_profile markets (\"ar-es\", \"br-pt\"): a label, not a second membership. Left out, the main market.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations mark this non-read-only and destructive, and the description adds the exact behavior an agent needs beyond that: all-or-nothing validation with one rejected map writing nothing, the superseding of an earlier proposal (supersededMapId), collision and withholding handling, the no-paid-measurement cost profile, and the caveat that an approved map stays in force until approve_content_map. It enumerates every failure reason and the corresponding reply fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The information is dense and mostly earns its place, and the core purpose and audit prerequisite are front-loaded. But it is a single undifferentiated block running well over 400 words, with a long inline enumeration of success and failure reply fields that an output schema would normally carry, making it hard to scan for the one rule an agent needs at call time.

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 tool with no output schema and thin schema descriptions, the definition covers the prerequisite state, the full input contract including referential integrity, the exact failure taxonomy and reply shape, and the downstream approval step. Given that richness, the only material omission is the meaning of the required summary field, which is minor against the rest.

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?

With only 33% schema description coverage, the description carries the load well: it defines name/targetTerm/rationale, the priority tie-breaking rule ('when absent or tied, submitted order decides'), evidence as refs from get_audit_findings, the hub/members structure, the markets label semantics (from get_profile markets, default main market), and the page-XOR-topic constraint with its uniqueness rules. The one required top-level parameter, summary, is never explained in the description or schema.

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?

Opens with a specific verb and resource: 'Store a proposed content map: clusters of pages and topics, each with a purpose, built from the site audit findings of every market.' It also scopes the tool ('seodraft checks shape and citations and never judges the strategy') and implicitly separates it from approve_content_map, which it names as the human-approval step.

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 a hard prerequisite ('Needs a finished audit (ready or partial) in at least one market, else ok: false with reason no_audit') and routes the agent to approve_content_map and get_audit_findings for follow-up work. It does not explicitly contrast with get_content_map (reading an existing map) or propose_topics, so the when-not guidance is partial rather than exhaustive.

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