Skip to main content
Glama
TsvetanG2

cognigy-ai-mcp-management-server

update_function

Idempotent

Need to change a Cognigy.AI function? Use this tool to update its code, name, parameters, or description, with a dry-run option to validate before saving.

Instructions

Updates an existing Cognigy.AI Function. Use this to change code, name, or parameters. MUTATING: Set dryRun=false to update.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoUpdated function code
nameNoNew name for the function
dryRunNoIf true (default), validates without updating. Set to false to actually update.
functionIdYesThe function ID to update
parametersNoUpdated parameters schema
descriptionNoNew description
Behavior4/5

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

The description explicitly labels the tool as 'MUTATING', aligning with readOnlyHint=false. It explains the dryRun behavior, which adds value beyond the annotations that already indicate idempotentHint=true and destructiveHint=false. No contradictions with 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?

The description is two concise sentences. The first states the purpose and scope, the second adds a critical behavioral note about dryRun. No wasted words.

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 the tool has 6 parameters including nested objects and no output schema, the description covers the main purpose and key behavioral note. It does not explain return value, but that is not necessary without output schema. Some agents might benefit from more detail on the effect of updating parameters, but overall it's fairly complete.

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?

All 6 parameters have descriptions in the schema (100% coverage), so the description does not need to add much. It mentions 'code, name, or parameters' but does not add new meaning beyond the schema. Baseline score of 3 is appropriate.

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 verb 'Updates' and the resource 'an existing Cognigy.AI Function', and lists what can be changed (code, name, or parameters). It distinguishes itself from sibling tools like create_function and delete_function by focusing on updating an existing 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 tells when to use it: 'to change code, name, or parameters.' It also mentions the dryRun flag and that setting it to false performs the update. However, it does not explicitly state when not to use it or compare to alternatives like create_function.

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/TsvetanG2/cognigy-ai-mcp-management-server'

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