Skip to main content
Glama

update_function

Update a serverless function's schedule, timeout, or memory without redeploying code. Pass a cron expression to set the schedule or null to remove it.

Instructions

Update a function's schedule, timeout, or memory without re-deploying code. Pass schedule as a cron expression to set/update, or null to remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFunction name to update
memoryNoMemory in MB (tier limits apply)
timeoutNoTimeout in seconds (tier limits apply)
scheduleNoCron expression (5-field, e.g. '*/15 * * * *') to set or update the schedule. Pass null to remove an existing schedule.
project_idYesThe project ID
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It mentions no code redeployment and schedule manipulation via cron expression or null, but omits details like required function existence, permission needs, or impact on running instances.

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?

Two sentences, no fluff, front-loaded with purpose. Every sentence adds value and is efficiently structured.

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 provides enough context for a simple settings update tool. It covers main parameters and behavior, though a brief note on return values or success/error handling would be nice.

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 100%, baseline 3. The description adds semantic value for schedule (explains cron expression and null removal) and clarifies that memory/timeout are updatable without code redeployment. Slightly exceeds baseline.

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 tool updates a function's schedule, timeout, or memory, and distinguishes itself from redeploying code. It uses a specific verb ('update') and resource ('function') with explicit fields, differentiating from siblings like deploy_function.

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 implicitly advises use when only settings need changing, and not for code changes. It mentions 'without re-deploying code,' hinting at when not to use it, but lacks explicit alternatives or context about prerequisites.

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/MajorTal/run402'

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