Skip to main content
Glama

TofuBofu AI Visibility

submit_draft

Save a draft that passed check_draft onto its brief, as a draft in the customer's Content Engine. A draft that fails the same checks is refused with the exact edits to make. It does not publish: the customer reviews and approves it in the Content Engine, and that tap is theirs.

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": {
      "piece_id": "<piece_id>",
      "title": "<title>",
      "body_markdown": "<body_markdown>"
    },
    "name": "submit_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqNoFAQ entries as a list of objects with `question` and `answer`.
titleYesThe piece's title.
piece_idYesA brief id from list_content_briefs.
workspaceNoA workspace id from list_workspaces. Leave empty for the one picked when TofuBofu was connected.
body_markdownYesThe article body, as markdown.
meta_descriptionNoMeta description, up to 400 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, and the description usefully adds the gate-and-refusal behavior plus the fact that publication is a human step outside this tool. It says nothing about idempotency or repeated submission, which matters since idempotentHint=false, nor about what a successful call returns.

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?

Three sentences, front-loaded with the action, then the failure mode, then the boundary on publishing. No restatement of the name or title and no filler.

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 gated mutation with no output schema, the description covers the critical behaviors: validation on entry, refusal with actionable edits, and the fact that nothing is published. The one gap is what a successful submission hands back to the agent, but the workflow context is otherwise sufficient.

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 100%, so every parameter including piece_id, workspace and meta_description is already documented. The description only reinforces that the target is a brief, adding little meaning beyond the schema's own 'A brief id from list_content_briefs'.

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 (save a draft onto its brief in the Content Engine) and explicitly separates itself from two neighbors: it consumes the output of check_draft and it does not publish. An agent can place it in the workflow without reading the schema.

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 clear precondition (the draft must have passed check_draft) and states what happens when that precondition fails. It does not name the remediation path by tool name (e.g. get_fixes) for rejected drafts, leaving that inference to the agent.

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