Skip to main content
Glama

Get Member

get_member
Read-onlyIdempotent

Member detail by member id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesParliament member id
includesNoComma-sep: Posts | Biography | Contact | Synopsis

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linksNo
valueNo
memberNoMain member record
includesNoAdditional member data sections (Posts, Biography, Contact, Synopsis)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / properties / includes / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / includes / properties
      Added value: +{
      +  "Biography": {
      +    "properties": {
      +      "links": {
      +        "items": {
      +          "properties": {
      +            "href": {
      +              "type": "string"
      +            },
      +            "method": {
      +              "type": "string"
      +            },
      +            "rel": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "value": {
      +        "properties": {
      +          "committeeMemberships": {
      +            "items": {
      +              "properties": {
      +                "additionalInfo": {
      +                  "type": "null"
      +                },
      +                "additionalInfoLink": {
      +                  "type": "null"
      +                },
      +                "endDate": {
      +                  "type": "string"
      +                },
      +                "house": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "startDate": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "electionsContested": {
      +            "items": {},
      +            "type": "array"
      +          },
      +          "governmentPosts": {
      +            "items": {},
      +            "type": "array"
      +          },
      +          "houseMemberships": {
      +            "items": {
      +              "properties": {
      +                "additionalInfo": {
      +                  "type": "string"
      +                },
      +                "additionalInfoLink": {
      +                  "type": "null"
      +                },
      +                "endDate": {
      +                  "type": "string"
      +                },
      +                "house": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "startDate": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "oppositionPosts": {
      +            "items": {
      +              "properties": {
      +                "additionalInfo": {
      +                  "type": "string"
      +                },
      +                "additionalInfoLink": {
      +                  "type": "null"
      +                },
      +                "endDate": {
      +                  "type": "string"
      +                },
      +                "house": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "startDate": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "otherPosts": {
      +            "items": {},
      +            "type": "array"
      +          },
      +          "partyAffiliations": {
      +            "items": {
      +              "properties": {
      +                "additionalInfo": {
      +                  "type": "null"
      +                },
      +                "additionalInfoLink": {
      +                  "type": "null"
      +                },
      +                "endDate": {
      +                  "type": "string"
      +                },
      +                "house": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "startDate": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "representations": {
      +            "items": {
      +              "properties": {
      +                "additionalInfo": {
      +                  "type": "string"
      +                },
      +                "additionalInfoLink": {
      +                  "type": "null"
      +                },
      +                "constituencyEnd": {
      +                  "type": "string"
      +                },
      +                "constituencyStart": {
      +                  "type": "string"
      +                },
      +                "endDate": {
      +                  "type": "string"
      +                },
      +                "house": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "startDate": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "Contact": {
      +    "properties": {
      +      "links": {
      +        "items": {
      +          "properties": {
      +            "href": {
      +              "type": "string"
      +            },
      +            "method": {
      +              "type": "string"
      +            },
      +            "rel": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "value": {
      +        "items": {},
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "Posts": {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / links
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "href": {
      +        "type": "string"
      +      },
      +      "method": {
      +        "type": "string"
      +      },
      +      "rel": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / member / properties
      Added value: +{
      +  "links": {
      +    "items": {
      +      "properties": {
      +        "href": {
      +          "type": "string"
      +        },
      +        "method": {
      +          "type": "string"
      +        },
      +        "rel": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "value": {
      +    "properties": {
      +      "gender": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "number"
      +      },
      +      "latestHouseMembership": {
      +        "properties": {
      +          "house": {
      +            "type": "number"
      +          },
      +          "membershipEndDate": {
      +            "type": "string"
      +          },
      +          "membershipEndReason": {
      +            "type": "string"
      +          },
      +          "membershipEndReasonId": {
      +            "type": "number"
      +          },
      +          "membershipEndReasonNotes": {
      +            "type": "string"
      +          },
      +          "membershipFrom": {
      +            "type": "string"
      +          },
      +          "membershipFromId": {
      +            "type": "number"
      +          },
      +          "membershipStartDate": {
      +            "type": "string"
      +          },
      +          "membershipStatus": {
      +            "properties": {
      +              "status": {
      +                "type": "number"
      +              },
      +              "statusDescription": {
      +                "type": "string"
      +              },
      +              "statusId": {
      +                "type": "number"
      +              },
      +              "statusIsActive": {
      +                "type": "boolean"
      +              },
      +              "statusNotes": {
      +                "type": "null"
      +              },
      +              "statusStartDate": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "latestParty": {
      +        "properties": {
      +          "abbreviation": {
      +            "type": "string"
      +          },
      +          "backgroundColour": {
      +            "type": "string"
      +          },
      +          "foregroundColour": {
      +            "type": "string"
      +          },
      +          "governmentType": {
      +            "type": "null"
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "isIndependentParty": {
      +            "type": "boolean"
      +          },
      +          "isLordsMainParty": {
      +            "type": "boolean"
      +          },
      +          "isLordsSpiritualParty": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "nameAddressAs": {
      +        "type": "string"
      +      },
      +      "nameDisplayAs": {
      +        "type": "string"
      +      },
      +      "nameFullTitle": {
      +        "type": "string"
      +      },
      +      "nameListAs": {
      +        "type": "string"
      +      },
      +      "thumbnailUrl": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / value
      Added value: +{
      +  "properties": {
      +    "gender": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "number"
      +    },
      +    "latestHouseMembership": {
      +      "properties": {
      +        "house": {
      +          "type": "number"
      +        },
      +        "membershipEndDate": {
      +          "type": "string"
      +        },
      +        "membershipEndReason": {
      +          "type": "string"
      +        },
      +        "membershipEndReasonId": {
      +          "type": "number"
      +        },
      +        "membershipEndReasonNotes": {
      +          "type": "string"
      +        },
      +        "membershipFrom": {
      +          "type": "string"
      +        },
      +        "membershipFromId": {
      +          "type": "number"
      +        },
      +        "membershipStartDate": {
      +          "type": "string"
      +        },
      +        "membershipStatus": {
      +          "properties": {
      +            "status": {
      +              "type": "number"
      +            },
      +            "statusDescription": {
      +              "type": "string"
      +            },
      +            "statusId": {
      +              "type": "number"
      +            },
      +            "statusIsActive": {
      +              "type": "boolean"
      +            },
      +            "statusNotes": {
      +              "type": "null"
      +            },
      +            "statusStartDate": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "latestParty": {
      +      "properties": {
      +        "abbreviation": {
      +          "type": "string"
      +        },
      +        "backgroundColour": {
      +          "type": "string"
      +        },
      +        "foregroundColour": {
      +          "type": "string"
      +        },
      +        "governmentType": {
      +          "type": "null"
      +        },
      +        "id": {
      +          "type": "number"
      +        },
      +        "isIndependentParty": {
      +          "type": "boolean"
      +        },
      +        "isLordsMainParty": {
      +          "type": "boolean"
      +        },
      +        "isLordsSpiritualParty": {
      +          "type": "boolean"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "nameAddressAs": {
      +      "type": "string"
      +    },
      +    "nameDisplayAs": {
      +      "type": "string"
      +    },
      +    "nameFullTitle": {
      +      "type": "string"
      +    },
      +    "nameListAs": {
      +      "type": "string"
      +    },
      +    "thumbnailUrl": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": 4385
      +  },
      +  {
      +    "id": 4385,
      +    "includes": "Posts,Biography,Contact"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Member detail with optional includes",
      +  "properties": {
      +    "includes": {
      +      "additionalProperties": true,
      +      "description": "Additional member data sections (Posts, Biography, Contact, Synopsis)",
      +      "type": "object"
      +    },
      +    "member": {
      +      "description": "Main member record",
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint). The description adds no behavioral context beyond the schema and title—it does not mention what 'detail' includes, whether fields vary, or how the includes parameter affects the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise and contains no filler or redundant phrasing. It is slightly fragmentary and under-specified, but it communicates the core operation 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 simple two-parameter lookup with a rich output schema and strong annotations, the description is nearly sufficient. It does not mention the optional 'includes' parameter, but the schema examples already demonstrate that, so an agent can still invoke the tool correctly.

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 schema already documents both 'id' and 'includes'. The description's 'by member id' merely restates what the schema expresses more precisely as 'Parliament member id', adding no meaningful semantic value beyond the structured input.

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 identifies the resource ('member') and the key selector ('member id'), so an agent can tell this is a lookup-by-id tool. It does not explicitly differentiate it from sibling tools like search_members or entity_profile, but the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'by member id' implies the tool should be used when the agent already has a specific member id. However, it gives no explicit guidance about when not to use it, nor does it point to alternatives such as search_members for unfiltered discovery or entity_profile for broader entity lookups.

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.