Skip to main content
Glama

update_tool

Idempotent

Update an existing tool by its ID. Fetches the current tool and applies partial updates to name, description, or active status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNosnake_case tool name, max 64 characters. Used as the function name when the LLM calls the tool.
activeNo
tool_idYes
descriptionNo
tool_configNoFunction schema sent to the LLM. Pass as an inline JSON object — do NOT serialize to a string. Use 'FormAPISchema' for form tools or 'APIToolConfig' for API-calling tools. Pass null to clear.
function_argumentsNoFixed runtime arguments NOT collected from the LLM (e.g. recipient email, rerank flag, knowledge-base ID). Pass as an inline JSON object — do NOT serialize to a string. Must include an 'object' discriminator field matching the tool type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds genuinely useful read-modify-write semantics: 'Fetches the current tool and applies partial updates.' This merge behavior is consistent with idempotentHint and clarifies that fields are patched rather than wholesale replaced. It doesn't discuss consequences of setting active=false or replacing tool_config, but the core behavior is well disclosed.

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

Conciseness4/5

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

Two tight sentences with the verb+resource front-loaded and zero fluff. The minor flaw is structural: the enumeration 'name, description, or active status' reads as exhaustive when it is not, which amplifies the omission of tool_config and function_arguments.

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 the sheer complexity — 6 parameters, tool_config with 7 field-type variants, function_arguments with ~10 discriminated tool configurations — the description is far too thin. It doesn't state that tool_config and function_arguments are updatable, doesn't describe error behavior (e.g., unknown tool_id), and offloads nearly everything to the schema. The output schema covers return values, but capability scope — the most decision-relevant information — is the critical gap.

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

Parameters2/5

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

The schema documents name, tool_config, and function_arguments (50% coverage), but the description adds little beyond restating which fields are updatable — and it omits the two most complex parameters (tool_config, function_arguments), which carry critical non-obvious requirements already present in the schema (inline JSON, do not serialize, object discriminator). An agent reading only the description would assume those fields cannot be updated, making the omission actively misleading.

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

Purpose4/5

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

States a specific verb (Update) + resource (tool) + lookup key (by ID), and clearly distinguishes itself from read_tool and list_tools siblings. However, the enumeration of updatable fields ('name, description, or active status') omits tool_config and function_arguments — two of the five updatable fields — so the stated scope is incomplete and slightly misleading.

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

Usage Guidelines3/5

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

Usage is implied: call this to modify an existing tool, and the resource name differentiates it from update_node, update_data_source, and update_prompt siblings. But there is no explicit when-to-use versus alternatives, no mention of the read_tool sibling as the counterpart for inspection, and no guidance on prerequisites or when partial updates are preferable to other operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct resource or metric. The many get_top_* endpoints are differentiated by the specific dimension measured, and read_* / list_* / get_* verbs consistently separate detail retrieval from aggregation and paginated listings. Explicit distinctions like get_top_languages vs get_top_locales and get_top_interaction_sources vs get_top_clicked_urls remove ambiguity.

Naming Consistency5/5

Tool names follow a predictable verb_noun pattern: create_* for mutations that add, update_* for edits, list_* for paginated collections, read_* for detailed record access, and get_* for aggregate analytics. Even with 33 tools the naming convention is uniform and readable.

Tool Count2/5

33 tools exceeds the 25+ threshold for 'too many' and is heavy for a single server surface. While the analytics getters are individually focused, the set is larger than typical for an MCP server and could be consolidated or grouped more tightly.

Completeness3/5

Analytics coverage is thorough, and nodes/prompts have create/read/update lifecycles. However, there are no delete operations anywhere, and data sources and tools support update but not create or delete, leaving notable lifecycle gaps for administrative tasks.

Resources