Skip to main content
Glama

update_function

Idempotent

Update an existing function's metadata: modify its name, purpose, parameters, or return specification using the function ID.

Instructions

Update function metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
function_idYesFunction ID to update
nameNoNew function name (NULL = don't update)
purposeNoNew purpose (NULL = don't update)
parametersNoNew parameters (NULL = don't update)
returnsNoNew return specification (NULL = don't update)
Behavior3/5

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

Annotations indicate idempotentHint=true, but the description does not explain partial update behavior (NULL fields not updated) or any side effects. It adds no behavioral context beyond what annotations already provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, front-loaded but too vague. It could be more specific without becoming verbose, but it is not overly long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters (including nested objects) and no output schema, the description is insufficient. It does not explain the update semantics (e.g., nullable fields mean no update), which is critical for correct usage.

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

Parameters3/5

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

Schema coverage is 100%, so each parameter has a description. The tool description adds no additional semantics or examples. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Update function metadata' uses a specific verb and resource, but 'metadata' is vague. It does not differentiate from siblings like update_function_file_location or finalize_function, which have more specific scopes. The schema clarifies parameters but the description itself lacks precision.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as update_function_file_location (for location changes) or finalize_function (for finalization). It does not mention prerequisites, context, or exclusions.

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/aryanduntley/aimfp'

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