Skip to main content
Glama

create_context_document

Create a context document for a brand kit to define brand voice, style guide, or other guidelines. Specify inline content or link an existing KnowledgeDoc.

Instructions

Create a context document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoStructured JSON data (optional, defaults to empty object)
nameNoDocument name for inline creation
contentNoMarkdown content (optional, defaults to empty)
brand_idYesBrand kit UUID
doc_typeNoDocument type key for inline creation (e.g. brand_voice, style_guide)
descriptionNoDocument description (optional, defaults to empty)
document_idNoLink an existing KnowledgeDoc by ID (mutually exclusive with inline fields)
Behavior2/5

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

No annotations provided, and the description is minimal. It does not disclose whether creation is destructive, whether it requires specific permissions, or what the response contains. For a creation tool, more behavioral context is needed.

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?

The description is a single sentence with no fluff. It is concise, but could be structured to include key usage information without sacrificing brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description does not explain the relationship between parameters (e.g., inline creation vs linking a document_id) or the purpose of the tool within a broader workflow. Given 7 parameters and nested objects, more context is needed for effective use.

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 parameters are well-documented in the schema. The description itself adds no additional meaning beyond the schema, warranting a baseline score of 3.

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?

Description clearly states the verb 'Create' and resource 'context document', distinguishing it from siblings like 'get_context_document_by_type' and 'delete_context_document'. However, it lacks specificity about what a context document is, which could be beneficial for users unfamiliar with the domain.

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?

No guidance on when to use this tool over alternatives like 'create_document'. No context on prerequisites, typical use cases, or limitations.

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/celeryhq/simplified-mcp-server'

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