Get Value Inside Family

I cannot get the parameter value from inside family.

import clr
from Autodesk.Revit.DB import FamilyManager

import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument

parameter = doc.FamilyManager.Parameters
param_name = IN[0]
for x in parameter:
	b = x.Definition.Name
	if b == param_name:
		OUT = x.Definition.Name

This post from Jeremy Tammik may help you. Despite being written in C#, the same overall process should apply here as well. Currently, your output is just the name of the parameter (or rather the name of its Definition).