MCP Tool Reference

Complete reference for all tools available through the Contextium MCP server.

This reference lists every tool available through the Contextium MCP server. For setup instructions, see Using MCP.


Workspace

ToolDescriptionRequired ParametersOptional Parameters
list_workspacesLists all workspaces you have access to with your role. Each workspace contains projects, agents, skills, tags, and workflows.

Context Libraries

ToolDescriptionRequired ParametersOptional Parameters
list_context_librariesLists all Context Libraries in a workspace with file counts. Use this to see what context libraries you have before listing files.workspaceId
get_context_libraryGet detailed information about a specific context library including metadata, file structure, and statistics.libraryIdworkspaceId
get_context_library_structureGet the complete hierarchical structure of a Context Library's documentation. Shows all folders and files organized by their relationship.contextLibraryIdincludeArchived
create_context_libraryCreate a new Context Library in the workspace. Use this to organize documentation into separate libraries.nameworkspaceId, description

Files

ToolDescriptionRequired ParametersOptional Parameters
list_filesLists files in a Context Library or folder (names and metadata only, no content). Use get_file to retrieve specific file content.projectIdfolderId, status, limit
get_fileGet the complete content and metadata of a specific documentation file by its ID.fileIdincludeMetadata
create_fileCreate a new file in a Contextium Context Library. Requires write access to the Context Library.projectId, title, pathcontent, folderId
update_fileUpdate an existing file in Contextium. You can modify the title, path, content, or status. By default, creates a version history entry.fileIdtitle, path, content, status, changeSummary, createVersion, folderId, projectId
delete_fileDelete a file from Contextium (moves to trash, not permanent). The file can be restored later if needed.fileId
get_file_versionsGet version history for a documentation file. Shows what changed and who made the changes.fileIdlimit, offset

ToolDescriptionRequired ParametersOptional Parameters
search_documentationSearch through all documentation files you have access to. Returns matching files with highlighted excerpts.queryworkspaceId, projectId, limit, offset
search_by_tagsSearch for files by tag IDs. Returns files that have ALL specified tags (AND logic).tagIdsworkspaceId, projectId

Tags

Tags are flat and untyped. A tag exists only as a #value token inside a file's content, and Contextium reconciles a file's tags from its body when the file is saved. The file content is the source of truth — so a tag is created by adding a #value token to a file's content (Contextium auto-creates it on save), either by editing the file directly or by using manage_relationship with type=tag (see below). There is no create action for tags — create does not accept type=tag.

ToolDescriptionRequired ParametersOptional Parameters
list_tagsList all tags in a workspace. Returns a flat list of tags with their IDs and usage counts.workspaceId
file_tagsList the tags applied to a single file (read-only).fileIdworkspaceId

To apply or remove a tag on a file, use the consolidated manage_relationship tool with type=tag. Each action edits the file content — it writes or deletes a #value token in the file body — and auto-creates the tag if it is new:

ActionDescriptionRequired ParametersOptional Parameters
addAdd a #value token to a single file's content.type=tag, action, value, fileIdworkspaceId
removeDelete the #value token from a single file's content.type=tag, action, value, fileIdworkspaceId
apply_bulkAdd a #value token to several files' content at once (max 100).type=tag, action, value, fileIdsworkspaceId
remove_bulkDelete a #value token from several files' content at once (max 100).type=tag, action, value, fileIdsworkspaceId

Tag values are lowercase letters, digits, and hyphens (e.g. urgent, api-reference). There are no direct tag apply/remove API endpoints — these actions always go through the file content.


Agents

ToolDescriptionRequired ParametersOptional Parameters
list_agentsLists all agents (AI assistant configurations) in a workspace. Agents define assistant roles and capabilities.workspaceId
get_agentGet detailed information about a specific agent including system prompt, persona, configuration, and associated files.agentIdworkspaceId
create_agentCreate a new agent in the workspace. Agents are specialized AI assistants with custom instructions and context.nameworkspaceId, description
update_agentUpdate an existing agent's name, description, custom context, or system prompt.agentIdworkspaceId, name, description, customContext, systemPrompt

Skills

ToolDescriptionRequired ParametersOptional Parameters
list_skillsLists all skills (shared knowledge and best practices) in a workspace. Skills contain reusable documentation for AI agents.workspaceId
get_skillGet detailed information about a specific skill including code, configuration, and associated files.skillIdworkspaceId
create_skillCreate a new skill in the workspace. The description should be written in third person: what knowledge the skill provides and when to use it — e.g. "Provides the company refund policy. Use when handling customer queries about refunds." Skills are created with YAML frontmatter by default.nameworkspaceId, description, content
update_skillUpdate an existing skill's name, description, or content.skillIdworkspaceId, name, description, content
add_skill_to_agentAdd a skill to an agent, giving the agent access to that skill's knowledge and capabilities.agentId, skillIdworkspaceId
remove_skill_from_agentRemove a skill from an agent.agentId, skillIdworkspaceId

Workflows

ToolDescriptionRequired ParametersOptional Parameters
list_workflowsList all workflows in a workspace. Workflows bundle agents, skills, tags, and context libraries together for a specific task.workspaceId
get_workflowGet detailed information about a specific workflow including name, description, associated agents, tags, and metadata.workflowIdworkspaceId
create_workflowCreate a new workflow in the workspace. Workflows bundle agents, skills, tags, and context libraries together for a specific task.nameworkspaceId, description, agentIds, skillIds, tagIds, projectIds
update_workflowUpdate an existing workflow. Modify its name, description, or the agents, skills, tags, and libraries it includes.workflowIdworkspaceId, name, description, agentIds, skillIds, tagIds, projectIds
load_workflowLoad all resources associated with a workflow including agents, skills, files, and context libraries. Returns the complete workflow context.workflowIdworkspaceId, includeFileContent

Tasks

Tasks are lightweight to-dos tied to a workflow. When load_workflow is called, the response already includes the active task list — use these tools to add, update, or query tasks beyond what is returned automatically.

ToolDescriptionRequired ParametersOptional Parameters
add_taskAdd a task to a workflow. Pass workflowId for an exact match or workflowName for fuzzy search. If the name matches multiple workflows, candidates are returned so the user can pick.titleworkflowId, workflowName, workspaceId, description
update_task_statusUpdate the status of a task. Use in_progress when starting work, done when complete, dismissed when no longer relevant.taskId, workflowId, statusworkspaceId
list_tasksList all tasks for a workflow with status, creator, and due date. Use sparingly — load_workflow already includes active tasks.workflowIdworkspaceId, status, includeDismissed

Valid status values: not_started · in_progress · done · dismissed


Team

ToolDescriptionRequired ParametersOptional Parameters
notify_team_membersNotify workspace team members about a resource — file, workflow, agent, or library. Sends a notification to the bell icon and notifications page for each recipient. Respects each member's notification preferences and Do Not Disturb settings. If a name matches more than one member, Claude will ask you to clarify before sending.resourceType, resourceId, resourceNameworkspaceId, message, notificationType, memberNames, memberEmails, memberIds

Notes

  • Tool names use snake_case. Pass them exactly as shown.
  • All tools require authentication. See Using MCP for setup.
  • This reference covers the Node.js MCP server at mcp.contextium.io.