Skip to main content
Glama

Update Content by Path

update_content_by_path
DestructiveIdempotent

Update website content by specifying its URL path instead of ID. Modify titles, text, metadata, and publish status when you know the page URL but not its database identifier.

Instructions

Update content identified by its URL path instead of its ID. Useful when you know the page URL but not the MongoDB ID.

Example: {"path": "/about", "title": "About Us", "data": {"body": "Updated content"}}

Only the fields you provide are changed. Always include a version_comment describing what changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoContent category
dataNoField values to update
meta_descriptionNoSEO meta description
og_imageNoOpen Graph image URL
pathYesURL path of the content to update (e.g. /about or /blog/my-post),required
publishedNoPublish state
tagsNoTags for lc:query index pages
titleNoNew title
version_commentNoVersion comment
Behavior4/5

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

Annotations declare idempotentHint=true and destructiveHint=true. The description adds valuable behavioral context: 'Only the fields you provide are changed' clarifies partial update semantics, and 'Always include a version_comment' establishes a usage requirement not captured in annotations.

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?

Three well-structured sentences: first establishes purpose and differentiation, second provides concrete example, third explains mutation semantics and versioning requirements. No redundancy or filler.

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?

For a 9-parameter destructive operation with no output schema, the description covers the essential behavioral contracts (partial updates, versioning requirement) and distinguishes itself from siblings. Could optionally mention error behavior for non-existent paths, but adequately complete as-is.

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?

Schema has 100% description coverage (baseline 3). The description adds a concrete JSON example showing how to structure the request object, particularly demonstrating the nested 'data' object usage, which adds practical value beyond the structured schema.

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 clearly states the specific action ('Update content') and resource (content by URL path), and explicitly distinguishes this from siblings by noting 'instead of its MongoDB ID'—directly contrasting with the likely update_content tool that uses ID.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool vs alternatives: 'Useful when you know the page URL but not the MongoDB ID.' This provides clear guidance on selecting this tool over the ID-based update_content sibling.

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/jonradoff/lightcms'

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