Skip to main content
Glama

Lovie Company Formation

Get Datatable Fields

datatable_get_datatable_fields
Read-only

Resolve all fields bound to a datatable for a company (platform + company bindings).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdNoUUID value wrapper.
datatableCodeYesLowercase kebab-case code identifier.
includeOptionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / fields / items / properties / binding / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "datatableId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "fieldId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "readOnly": {
      +        "type": "boolean"
      +      },
      +      "sortOrder": {
      +        "type": "integer"
      +      },
      +      "source": {
      +        "enum": [
      +          "BINDING_SOURCE_UNSPECIFIED",
      +          "BINDING_SOURCE_PLATFORM",
      +          "BINDING_SOURCE_USER",
      +          "BINDING_SOURCE_INTEGRATION"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "visibilityOverride": {
      +        "enum": [
      +          "FIELD_VISIBILITY_UNSPECIFIED",
      +          "FIELD_VISIBILITY_VISIBLE",
      +          "FIELD_VISIBILITY_HIDDEN",
      +          "FIELD_VISIBILITY_SYSTEM"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "datatableId",
      +      "fieldId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / fields / items / properties / binding / properties
      Removed value: -{
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "datatableId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "fieldId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "readOnly": {
      -    "type": "boolean"
      -  },
      -  "sortOrder": {
      -    "type": "integer"
      -  },
      -  "source": {
      -    "enum": [
      -      "BINDING_SOURCE_UNSPECIFIED",
      -      "BINDING_SOURCE_PLATFORM",
      -      "BINDING_SOURCE_USER",
      -      "BINDING_SOURCE_INTEGRATION"
      -    ],
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "visibilityOverride": {
      -    "enum": [
      -      "FIELD_VISIBILITY_UNSPECIFIED",
      -      "FIELD_VISIBILITY_VISIBLE",
      -      "FIELD_VISIBILITY_HIDDEN",
      -      "FIELD_VISIBILITY_SYSTEM"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / fields / items / properties / binding / required
      Removed value: -[
      -  "datatableId",
      -  "fieldId"
      -]
    • removedOutput schema / properties / fields / items / properties / binding / type
      Removed value: -"object"
    • addedOutput schema / properties / fields / items / properties / field / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "code": {
      +        "anyOf": [
      +          {
      +            "description": "Lowercase kebab-case code identifier.",
      +            "properties": {
      +              "value": {
      +                "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "description": {
      +        "anyOf": [
      +          {
      +            "description": "Free-form description (max 5000 chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 5000,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "metadata": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "values": {
      +                "additionalProperties": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "options": {
      +        "items": {
      +          "properties": {
      +            "code": {
      +              "anyOf": [
      +                {
      +                  "description": "Lowercase kebab-case code identifier.",
      +                  "properties": {
      +                    "value": {
      +                      "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "companyId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "createdAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "depth": {
      +              "type": "integer"
      +            },
      +            "description": {
      +              "anyOf": [
      +                {
      +                  "description": "Free-form description (max 5000 chars).",
      +                  "properties": {
      +                    "value": {
      +                      "maxLength": 5000,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "fieldId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "metadata": {
      +              "anyOf": [
      +                {
      +                  "properties": {
      +                    "values": {
      +                      "additionalProperties": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "anyOf": [
      +                {
      +                  "description": "Human-readable name (1-255 Unicode chars).",
      +                  "properties": {
      +                    "value": {
      +                      "maxLength": 255,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "parentId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "path": {
      +              "type": "string"
      +            },
      +            "sortOrder": {
      +              "type": "integer"
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "fieldId",
      +            "name",
      +            "code"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "parentFieldId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "enum": [
      +          "FIELD_TYPE_UNSPECIFIED",
      +          "FIELD_TYPE_STRING",
      +          "FIELD_TYPE_NUMBER",
      +          "FIELD_TYPE_DATE",
      +          "FIELD_TYPE_SELECT"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "valueMode": {
      +        "enum": [
      +          "FIELD_VALUE_MODE_UNSPECIFIED",
      +          "FIELD_VALUE_MODE_SINGLE",
      +          "FIELD_VALUE_MODE_MULTI"
      +        ],
      +        "type": "string"
      +      },
      +      "visibility": {
      +        "enum": [
      +          "FIELD_VISIBILITY_UNSPECIFIED",
      +          "FIELD_VISIBILITY_VISIBLE",
      +          "FIELD_VISIBILITY_HIDDEN",
      +          "FIELD_VISIBILITY_SYSTEM"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "code"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / fields / items / properties / field / properties
      Removed value: -{
      -  "code": {
      -    "description": "Lowercase kebab-case code identifier.",
      -    "properties": {
      -      "value": {
      -        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "description": {
      -    "description": "Free-form description (max 5000 chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 5000,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "metadata": {
      -    "properties": {
      -      "values": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "name": {
      -    "description": "Human-readable name (1-255 Unicode chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "options": {
      -    "items": {
      -      "properties": {
      -        "code": {
      -          "description": "Lowercase kebab-case code identifier.",
      -          "properties": {
      -            "value": {
      -              "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "companyId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "createdAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "depth": {
      -          "type": "integer"
      -        },
      -        "description": {
      -          "description": "Free-form description (max 5000 chars).",
      -          "properties": {
      -            "value": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "fieldId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "id": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "metadata": {
      -          "properties": {
      -            "values": {
      -              "additionalProperties": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "name": {
      -          "description": "Human-readable name (1-255 Unicode chars).",
      -          "properties": {
      -            "value": {
      -              "maxLength": 255,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "parentId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "path": {
      -          "type": "string"
      -        },
      -        "sortOrder": {
      -          "type": "integer"
      -        },
      -        "updatedAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "fieldId",
      -        "name",
      -        "code"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "parentFieldId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": {
      -    "enum": [
      -      "FIELD_TYPE_UNSPECIFIED",
      -      "FIELD_TYPE_STRING",
      -      "FIELD_TYPE_NUMBER",
      -      "FIELD_TYPE_DATE",
      -      "FIELD_TYPE_SELECT"
      -    ],
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "valueMode": {
      -    "enum": [
      -      "FIELD_VALUE_MODE_UNSPECIFIED",
      -      "FIELD_VALUE_MODE_SINGLE",
      -      "FIELD_VALUE_MODE_MULTI"
      -    ],
      -    "type": "string"
      -  },
      -  "visibility": {
      -    "enum": [
      -      "FIELD_VISIBILITY_UNSPECIFIED",
      -      "FIELD_VISIBILITY_VISIBLE",
      -      "FIELD_VISIBILITY_HIDDEN",
      -      "FIELD_VISIBILITY_SYSTEM"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / fields / items / properties / field / required
      Removed value: -[
      -  "name",
      -  "code"
      -]
    • removedOutput schema / properties / fields / items / properties / field / type
      Removed value: -"object"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a safe read operation. The description adds the scoping detail ('platform + company bindings') and the notion of resolving bound fields, which is useful. However, it doesn't disclose behavior like whether includeOptions affects response size, whether companyId is optional, or any rate limits. With annotations covering the safety profile, a 3 is appropriate.

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 a single sentence that is concise and front-loaded with the core action ('Resolve all fields bound to a datatable') followed by the scoping detail. Every word earns its place; no filler or repetition.

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

Completeness4/5

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

Given the tool has an output schema, the description doesn't need to explain return values. The annotations cover the safety profile. The description is complete for a read-only lookup tool, though it could have briefly noted the role of includeOptions or the optionality of companyId. Overall, it is adequate and slightly above minimum.

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 67%, with datatableCode and companyId having descriptions, while includeOptions has no description. The description mentions 'all fields bound to a datatable for a company' which maps to datatableCode and companyId, but doesn't explain includeOptions. The description adds some context about the purpose of the parameters but doesn't fully compensate for the undocumented includeOptions.

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 ('Resolve') and resource ('all fields bound to a datatable for a company'), and clarifies scope ('platform + company bindings'). It is clear about what the tool does, though it doesn't explicitly distinguish it from sibling tools like datatable_get_list_datatables or datatable_get_related_datatables. The verb 'Resolve' is somewhat less common than 'Get' but still conveys the action.

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?

The description implies usage context: it is for resolving fields bound to a datatable, and the mention of 'platform + company bindings' suggests it covers both scopes. However, it does not explicitly state when to use this tool versus alternatives like datatable_get_list_datatables or datatable_get_related_datatables, nor does it mention exclusions or prerequisites.

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.