Skip to main content
Glama

acc_set_custom_attributes

Set custom attribute values on a document version, such as revision or classification. Resolves attribute names against folder definitions and reports unknown names.

Instructions

Set custom attribute values on a document version — e.g. move a container from S2 to S3, stamp the Revision, or fill the Uniclass classification. Attribute names are resolved against the folder's definitions; unknown names are reported with the available ones.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_idYesFolder URN containing the document (used to resolve attribute names to ids)
project_idYesProject id
version_idYesVersion URN of the document (tip version for 'current')
values_jsonYesJSON object mapping attribute NAME or numeric id to value, e.g. {"Trang thai (Status)": "S3", "Revision": "P02", "1002": "2026-08-01"}. null clears a value. Drop-down values must match the defined list

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint=false, so the write nature is known. The description adds meaningful behavioral context: attribute names are resolved against folder definitions, and unknown names are reported with available options, which helps the agent anticipate error handling. It doesn't over-elaborate side effects, but adds useful behavior beyond 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 sentences, leads with the core action, and each clause adds value—examples, resolution behavior, and error reporting. No wasted words.

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

Completeness5/5

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

Given the output schema exists, annotations are present, and the schema covers all 4 parameters, the description is complete enough. It explains the tool's purpose, gives real-world use cases, and notes error behavior. No critical gaps remain.

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 100%, so the parameters are fully documented in the schema. The description adds some value by explaining resolution behavior and giving domain examples, but it doesn't significantly go beyond what the schema already provides.

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 uses a specific verb+resource: 'Set custom attribute values on a document version' and provides concrete examples (moving S2 to S3, stamping Revision, filling Uniclass). It clearly distinguishes from sibling tools like acc_list_custom_attributes and acc_create_custom_attribute.

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 examples give clear usage context ('e.g. move a container... stamp the Revision... fill the Uniclass classification'), and the mention of attribute name resolution implies when to use this tool. It doesn't explicitly name alternatives or exclusions, but the context is strong enough.

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/nhantruong96/acc-mcp'

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