Skip to main content
Glama

update_directory_field

Destructive

Update a field in a directory collection.

Args: project_id: The project ID. collection_id: The collection ID. field_id: The field ID. label: New label (leave empty to keep current). field_type: New type (leave empty to keep current).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo
field_idYes
field_typeNo
project_idYes
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this mutates state. The description adds one genuinely useful behavioral detail: empty label/field_type values preserve the current value. However, given destructiveHint=true, it never explains what is destroyed, whether a field_type change migrates existing item data, or what permissions are required.

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 purpose sentence is front-loaded and the docstring is short, but the Args block mostly restates parameter names already present in the schema, with only two lines earning their place. Structure is serviceable rather than tight.

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

Completeness3/5

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

An output schema exists so return values need not be described, and annotations cover the safety profile. What is missing for a destructive field-mutation tool is the impact of changing field_type on existing items and any permission requirements. Adequate but with clear gaps.

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 description coverage is 0%, so the description carries the burden. It lists all five parameters, and 'New label (leave empty to keep current)' and the equivalent for field_type add real meaning. But project_id, collection_id, and field_id are documented only tautologically ('The project ID'), adding nothing over the schema titles.

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?

The description states a specific verb and resource ('Update a field in a directory collection'), which is clear enough to distinguish it from siblings like update_directory_collection, update_directory_item, and create_directory_field. It stops short of naming those alternatives explicitly, so it is clear but not sibling-differentiating.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as create_directory_field or delete_directory_field. The only contextual hint ('leave empty to keep current') describes parameter behavior rather than usage conditions.

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.

Resources