Skip to main content
Glama

Add Styled Paragraph to Document

add_paragraph_to_document

Appends a fully styled Arabic or English paragraph to a Word document with control over font, size, RTL, alignment, kashida, and line spacing.

Instructions

Appends a styled Arabic or English paragraph to a Word document with font, size, RTL, kashida justification, and line spacing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boldNoBold weight
textYesParagraph text content
italicNoItalic style
colorHexNoText hex color000000
filePathYesPath to .docx file
alignmentNoParagraph alignmentright
directionNoText directionrtl
underlineNoUnderline style
fontFamilyNoFont name (e.g. Amiri, Traditional Arabic, Cairo)
fontSizePtNoFont size in pt
spaceAfterPtNoSpace after in pt
spaceBeforePtNoSpace before in pt
lineSpacingMultiplierNoLine spacing multiplier
Behavior3/5

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

With no annotations, the description must fully disclose behavior. It says 'appends' (a mutation) and mentions RTL/kashida support, but it omits file prerequisites (e.g., document must exist), side effects (modifies file in place), and return values, leaving the agent uncertain about runtime behavior.

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?

The description is one concise sentence, front-loaded with the core action ('Appends a styled paragraph') and includes only relevant details. No wasted words.

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?

Despite its clarity, this 13-parameter tool with no output schema and no annotations would benefit from additional context about return behavior, file handling, or error cases. The description covers the main purpose but leaves operational gaps that an agent must infer.

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%—every parameter has a description. The tool description adds little semantic value beyond listing a few style features (font, size, RTL) that map to schema properties. This matches the baseline of 3 for high schema coverage.

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 action: 'Appends a styled Arabic or English paragraph to a Word document' and lists key formatting features (font, size, RTL, kashida, line spacing). This clearly distinguishes it from sibling tools like add_heading_to_document and add_table_to_document.

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?

The description makes clear it is for adding styled paragraphs to Word documents, and sibling tool names imply alternatives. However, it does not explicitly state when not to use the tool or name alternative tools for other content types.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarwanDevSpace/mcp-arabic-ms-word'

If you have feedback or need assistance with the MCP directory API, please join our Discord server