get_class_property_descriptions
Retrieve property descriptions for IBM Content Manager classes to understand metadata structure and requirements.
Instructions
Retrieves properties of a class.
:param class_symbolic_name: The symbolic name of the class to retrieve properties for
:returns: A list of CachePropertyDescription objects for each property
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_symbolic_name | Yes |
Implementation Reference
- The main handler function for the 'get_class_property_descriptions' tool. It fetches class metadata using get_class_metadata_tool and returns the property_descriptions list or a ToolError.def get_class_property_descriptions( class_symbolic_name: str, ) -> Union[List[CachePropertyDescription], ToolError]: """ Retrieves properties of a class. :param class_symbolic_name: The symbolic name of the class to retrieve properties for :returns: A list of CachePropertyDescription objects for each property """ class_metadata = get_class_metadata_tool( graphql_client=graphql_client, class_symbolic_name=class_symbolic_name, metadata_cache=metadata_cache, ) # If there was an error retrieving the class metadata, return it if isinstance(class_metadata, ToolError): return class_metadata else: return class_metadata.property_descriptions
- src/cs_mcp_server/tools/classes.py:648-650 (registration)The @mcp.tool decorator registration for the 'get_class_property_descriptions' tool within the register_class_tools function.@mcp.tool( name="get_class_property_descriptions", )
- src/cs_mcp_server/mcp_server_main.py:238-238 (registration)Call to register_class_tools in the FULL server type, which registers the class tools including get_class_property_descriptions.register_class_tools(mcp, graphql_client, metadata_cache)
- src/cs_mcp_server/mcp_server_main.py:222-222 (registration)Call to register_class_tools in the CORE server type, which registers the class tools including get_class_property_descriptions.register_class_tools(mcp, graphql_client, metadata_cache)