Skip to main content
Glama

Approve content map

approve_content_map
DestructiveIdempotent

Records that the human said yes to a proposed content map. approvalText is what they approved (the summary and clusters shown to them), stored verbatim. Approving a map is always a human decision, also when pipeline_status reports approvalMode agent: that mode lets the agent finish articles, and the map is direction, which stays with the human. So this records a yes the human gave in this conversation, and belongs after it, never before. mapId comes from submit_content_map or get_content_map. Refusals are ok: false with a message: approval_text_missing (approvalText is empty), not_found (no map with that id in this workspace) or not_proposed (the map was superseded or discarded; get_content_map shows the current one). Success is ok: true, mapId, status approved, approvedAt, approvedVia, approvedSummary, supersededMapId (the approved map this one replaced, or null) and alreadyApproved (true when the map was approved already and nothing changed). From then on plan_topics orders the topic bank by cluster priority (hub before spokes), next_write carries the cluster of the post it returns, and the audit builds SERP briefs for the first unwritten topics of the map, up to its brief cap. The first of those briefs (one SERP, about USD 0.004) can run within this same call; the rest run as site_audit_status advances the audit, which shows that briefs stage. Every brief is charged the way the audit was: included, or the user's own DataForSEO balance when the audit ran on it.

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": {
      "mapId": "<mapId>",
      "approvalText": "<approvalText>"
    },
    "name": "approve_content_map"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Given annotations already declare non-read-only, destructive, idempotent, and open-world, the description still adds substantial context the annotations cannot: the enumerated refusal codes (approval_text_missing, not_found, not_proposed) with their meanings, the success payload including alreadyApproved and supersededMapId, and the downstream consequences for plan_topics ordering, next_write, and the audit's SERP briefs. The only gap is that it does not explain why destructiveHint is true beyond implying supersession of a prior map, leaving the blast radius on the superseded map slightly implicit.

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 purpose and the human-decision invariant are front-loaded, but the back half sprawls into audit brief pricing (USD 0.004), the brief cap, and how DataForSEO billing is applied. That cost context is decision-relevant for an agent that should warn the user, yet it is delivered in dense, subordinate-clause-heavy sentences that could be tightened or moved to a cost note.

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?

With no output schema and a mutation carrying workspace side effects, the description supplies everything an agent needs: required inputs and their sources, the full refusal taxonomy, the success return fields, the idempotency behavior, and the post-approval effects on plan_topics, next_write, and the audit including the incidental SERP charge. Nothing material about invoking or interpreting the call is left unstated.

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 only 33% — only workspaceId is documented in the schema — so the description has to carry mapId and approvalText, and it does: mapId's provenance (submit_content_map/get_content_map) and approvalText's exact semantics ('what they approved ... stored verbatim') plus the failure mode when it is empty. It adds real meaning beyond the bare string types, though it gives no format or length guidance for approvalText.

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 opens with a specific verb and resource: 'Records that the human said yes to a proposed content map.' It immediately defines the key payload (approvalText is the summary and clusters shown to the user, stored verbatim) and names where mapId originates (submit_content_map or get_content_map), so an agent can distinguish this from the sibling tools that create or read maps.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states an explicit temporal precondition ('records a yes the human gave in this conversation, and belongs after it, never before') and preempts a likely misread by clarifying that approvalMode agent in pipeline_status does not license the agent to approve — the map direction 'stays with the human.' That is when-to-use, when-not-to-use, and the alternative source of the mapId all in one passage.

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