Skip to main content
Glama

Update an existing Temp

update_temp

Update a published artifact on temp.md without changing its URL, resetting the expiry window. Falls back to the previous version if the update fails.

Instructions

Push a new version of an artifact behind the same temp.md URL — no re-sharing needed. Resets the 7-day active window. Reads temp_id and update_token from the project's .tempmd file when omitted. If the update fails, the previous version stays live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute path to the updated main artifact file
titleNo
temp_idNoTemp ID (omit to use the project's .tempmd record)
project_dirNoProject root holding the .tempmd records file. Defaults to the current working directory.
update_tokenNoUpdate token (omit to use the project's .tempmd record)
additional_filesNoExtra files to publish alongside the main file (scripts, styles, images)
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: resets 7-day window, reads credentials from file when omitted, and preserves previous version on failure. This is comprehensive for a mutation tool.

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?

Four sentences, no redundancy, front-loaded with core purpose. Every sentence adds value.

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 no output schema, the description covers key behaviors and edge cases but could mention return value or success indication for full completeness.

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 coverage is high (83%), and the description adds meaningful context about omitting temp_id and update_token to read from .tempmd file, going beyond the schema descriptions.

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 it pushes a new version of an artifact behind the same URL without needing re-sharing, distinguishing it from sibling tools like publish_temp which likely creates new temps.

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 explains the tool updates an existing temp and mentions fallback behavior from .tempmd file, but does not explicitly contrast with siblings like restore_temp or list_temps for when not to use.

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/huangdun/tempmd-mcp'

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