Skip to main content
Glama

update

Update any resource type in Contextium by ID, modifying only specified fields. For files, a new version preserves history.

Instructions

Update an existing resource in place by ID — edit a file's title, path, content, or status, or rename/reconfigure an agent, skill, workflow, or project. Only the fields you pass are changed; for files, a new version is created automatically so history is preserved. Set type to the resource kind and id to its UUID (from list/search/get).

File linking (type=file): to link to another file in the SAME workspace, put // inline in the content — use the target's UUID (from search/list/get results), not its title. The link renders as the target's title and is re-indexed on save; backlinks are automatic. To add a backlink to file B, add // to this file's content. Remove a link by deleting its // token. Only link to files that exist. Use get({ type: "file_links", id }) to inspect links and backlinks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesResource ID
nameNoNew name (type=agent, workflow, project)
pathNo
slugNoSlug (type=project)
typeYesResource type to update
titleNo
statusNo
tagIdsNoTag IDs (type=workflow)
contentNo
agentIdsNoAgent IDs (type=workflow)
folderIdNo
skillIdsNoSkill IDs (type=workflow)
isPrivateNoWorkflow visibility (type=workflow). true = only you, the workspace owner/admin, and explicitly-shared members can see it. false = visible to the whole team.
projectIdNoMove file to different library (type=file)
projectIdsNoLibrary IDs (type=workflow)
descriptionNoNew description (type=agent, workflow, project)
workspaceIdNo
systemPromptNoSystem prompt (type=agent)
changeSummaryNo
createVersionNoCreate version history entry (default true)
customContextNoCustom context (type=agent)
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that file updates create a new version automatically and explains the file linking mechanism. It mentions that only passed fields are changed, implying partial updates. It does not cover permissions, rate limits, or async behavior, but the disclosed behaviors are sufficient for basic usage.

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 front-loaded with the main purpose and then delves into file-specific details. It is well-structured with a general paragraph and a dedicated subsection for file linking. While somewhat lengthy, every sentence adds value, and the separation of concerns is clear.

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?

Given 21 parameters and no output schema, the description covers the core behaviors and key parameters. It addresses file linking comprehensively but does not explain return values or versioning for non-file resources. The complexity is high, and the description provides sufficient detail for most use cases, leaving minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context beyond the schema, such as explaining that `id` must be a UUID from list/search/get, clarifying `isPrivate` for workflows, and specifying file linking syntax. Schema coverage is 67%, and the description compensates for several undocumented parameters (e.g., path, title) implicitly. However, some parameters like `workspaceId` and `changeSummary` lack extra guidance.

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 starts by clearly stating 'Update an existing resource in place by ID' and lists specific resource types like 'file, agent, skill, workflow, or project'. This distinguishes it from siblings like 'create' (new resources) and 'delete' (remove). The verb 'update' is specific and the resource scope is well-defined.

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 provides clear guidance on partial updates ('Only the fields you pass are changed') and version history for files. It also details file linking syntax and backlinks. However, it does not explicitly state when not to use this tool (e.g., for deletion vs update), leaving some assumption to the agent.

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/contextium-io/contextium-mcp-server'

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