Skip to main content
Glama

Lovie Company Formation

Get Field Option

field_get_field_option
Read-only

Get a single field option by ID or code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoUUID value wrapper.
codeNoLowercase kebab-case code identifier.
fieldIdYesUUID value wrapper.
companyIdNoUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / option / 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"
      +          }
      +        ]
      +      },
      +      "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": "null"
      +  }
      +]
    • removedOutput schema / properties / option / 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"
      -  },
      -  "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"
      -  }
      -}
    • removedOutput schema / properties / option / required
      Removed value: -[
      -  "fieldId",
      -  "name",
      -  "code"
      -]
    • removedOutput schema / properties / option / 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 disclose readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the behavioral trait of returning a single result by exact ID or code, which is useful but not extensive; it doesn't address error behavior or scoping requirements.

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, front-loaded sentence with no filler. Every word earns its place, and it conveys the core action and lookup method efficiently.

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?

For a read-only, single-resource lookup with annotations and an output schema, the description is largely sufficient. It could be more complete by explicitly naming the fieldId requirement and distinguishing from field_get_list_field_options, but the schema and tool name fill most 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 coverage is 100%, so the schema documents all parameters. The description adds only a light link between the id/code parameters and the lookup behavior, which is helpful but doesn't go beyond what the schema already conveys.

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 clearly states a specific verb ('Get'), resource ('field option'), and identifier ('by ID or code'). It distinguishes itself from the list sibling (field_get_list_field_options) by emphasizing 'single', though it doesn't explicitly mention the required fieldId scope.

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?

Usage context is mostly implied rather than stated. The word 'single' suggests when to use this instead of the list tool, but there is no explicit when-to-use guidance, no mention of alternatives like field_suggest_field_options, and no exclusions.

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.