Skip to main content
Glama

Vizzy — Arabic AI Creative Platform

Generate document

generate_document

Generate a professional business document — proposal, report, presentation, or spreadsheet. Returns a downloadable URL (PDF, DOCX, or PPTX). Supports Arabic and English documents. Uses credits on success (see CREDIT COSTS).

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": {
      "user_request": "<user_request>"
    },
    "name": "generate_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoDocument language (default: arabic)
company_nameNoCompany or brand name
user_requestYesDescribe the document (e.g. 'عمل عرض تقديمي لبراند ملابس للمستثمرين', 'create a business proposal for a coffee shop in Cairo')
document_typeNoType of document

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Document language (default: en)"New value: +"Document language (default: arabic)"
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "ar"
      -]New value: +[
      +  "arabic",
      +  "english"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so safety profile is covered. The description adds genuinely useful behavior beyond that: credits are charged only on success and output is a downloadable URL rather than inline content. It does not say how credits are counted, what errors or failure modes exist, or expected latency, and the 'CREDIT COSTS' reference points to documentation not included here.

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

Conciseness4/5

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

Four short sentences that front-load the purpose, then output format, language support, and the credit rule. Slightly choppy, and the 'see CREDIT COSTS' pointer is a dangling reference, but nothing is padded.

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 non-idempotent, open-world generation tool with no output schema, the description covers output artifact (URL) and billing trigger, which are the high-value facts. Missing: what the request returns on failure, credit magnitude, and whether regeneration of the same request costs again.

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 coverage is 100%, so each parameter is already documented, and the description adds little per-parameter detail. It does reinforce that Arabic and English are both supported (matching the language enum) and notes the default is Arabic via the schema, not the description; the contract document type is also only in the schema.

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+resource ("Generate a professional business document") and enumerates the artifact types, including an output format note (PDF, DOCX, PPTX). It is distinguishable from siblings like generate_video or create_design, though it never names a sibling or boundary explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no comparison to alternatives such as write_copy or create_design. Only an implied usage from the document-type list and a note that credits are consumed on success.

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