Skip to main content
Glama
metadome-link
by berntpopp

Protein Domains

get_protein_domains
Read-only

List Pfam domains with IDs, names, and residue ranges for a transcript, revealing where protein domains map to help interpret variants.

Instructions

List Pfam domains (id, name, residue range) of a transcript. Needs a built landscape (request_tolerance_landscape). Then get_meta_domain for homolog variants.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "transcript_id": "<transcript_id>"
    },
    "name": "get_protein_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_modeNoOutput verbosity; default compact, minimal = essentials only.
transcript_idYesVersioned Ensembl transcript id (with .N suffix), from resolve_transcript.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.5.2
    • changedInput schema / properties / response_mode / description
      Previous value: -"Mode."New value: +"Output verbosity; default compact, minimal = essentials only."
    • changedInput schema / properties / transcript_id / description
      Previous value: -"ENST."New value: +"Versioned Ensembl transcript id (with .N suffix), from resolve_transcript."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "M": {
      -      "additionalProperties": false,
      -      "patternProperties": {
      -        "^(tool|request_id|capabilities_version)$": {
      -          "type": "string"
      -        },
      -        "^data_versions$": {
      -          "additionalProperties": false,
      -          "minProperties": 8,
      -          "patternProperties": {
      -            "^(assembly|gencode|uniprot|gnomad|clinvar|pfam|metadome_app|data_doi)$": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "^elapsed_ms$": {
      -          "type": "integer"
      -        },
      -        "^next_commands$": {
      -          "items": {
      -            "additionalProperties": false,
      -            "minProperties": 2,
      -            "properties": {
      -              "arguments": {
      -                "properties": {
      -                  "domains": {
      -                    "additionalProperties": {
      -                      "items": {
      -                        "type": "integer"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "type": "object"
      -                  }
      -                },
      -                "propertyNames": {
      -                  "pattern": "^(transcript_id|position|limit|offset|domains)$"
      -                },
      -                "type": "object"
      -              },
      -              "tool": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "^unsafe_for_clinical_use$": {
      -          "const": true
      -        }
      -      },
      -      "required": [
      -        "tool",
      -        "request_id",
      -        "data_versions",
      -        "unsafe_for_clinical_use"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "oneOf": [
      -    {
      -      "additionalProperties": false,
      -      "patternProperties": {
      -        "^(dropped_summary|transcript_id|recommended_citation)$": {
      -          "type": "string"
      -        },
      -        "^_meta$": {
      -          "$ref": "#/$defs/M"
      -        },
      -        "^domains$": {
      -          "items": {
      -            "additionalProperties": false,
      -            "patternProperties": {
      -              "^(ID|Name)$": {
      -                "type": "string"
      -              },
      -              "^(start|stop|meta_domain_alignment_depth)$": {
      -                "type": "integer"
      -              },
      -              "^metadomain$": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "ID",
      -              "Name",
      -              "start",
      -              "stop",
      -              "metadomain"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "^gene_name$": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "^success$": {
      -          "const": true
      -        }
      -      },
      -      "required": [
      -        "success",
      -        "_meta",
      -        "transcript_id",
      -        "domains",
      -        "recommended_citation"
      -      ]
      -    },
      -    {
      -      "additionalProperties": false,
      -      "patternProperties": {
      -        "^(message|recovery_action|field|hint)$": {
      -          "type": "string"
      -        },
      -        "^_meta$": {
      -          "$ref": "#/$defs/M"
      -        },
      -        "^allowed_values$": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "^error_code$": {
      -          "enum": [
      -            "invalid_input",
      -            "not_found",
      -            "ambiguous_query",
      -            "upstream_unavailable",
      -            "rate_limited",
      -            "internal"
      -          ]
      -        },
      -        "^retryable$": {
      -          "type": "boolean"
      -        },
      -        "^success$": {
      -          "const": false
      -        }
      -      },
      -      "required": [
      -        "success",
      -        "_meta",
      -        "error_code",
      -        "message",
      -        "retryable",
      -        "recovery_action"
      -      ]
      -    }
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changedv0.3.16
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "patternProperties": {
      -      "^(dropped_summary|transcript_id|recommended_citation)$": {
      -        "type": "string"
      -      },
      -      "^_meta$": {
      -        "$ref": "#/$defs/M"
      -      },
      -      "^domains$": {
      -        "items": {
      -          "additionalProperties": false,
      -          "minProperties": 6,
      -          "patternProperties": {
      -            "^(ID|Name)$": {
      -              "type": "string"
      -            },
      -            "^(start|stop|meta_domain_alignment_depth)$": {
      -              "type": "integer"
      -            },
      -            "^metadomain$": {
      -              "type": "boolean"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "^gene_name$": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "^success$": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "success",
      -      "_meta",
      -      "transcript_id",
      -      "domains",
      -      "recommended_citation"
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "patternProperties": {
      -      "^(message|recovery_action|field|hint)$": {
      -        "type": "string"
      -      },
      -      "^_meta$": {
      -        "$ref": "#/$defs/M"
      -      },
      -      "^allowed_values$": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "^error_code$": {
      -        "enum": [
      -          "invalid_input",
      -          "not_found",
      -          "ambiguous_query",
      -          "upstream_unavailable",
      -          "rate_limited",
      -          "internal"
      -        ]
      -      },
      -      "^retryable$": {
      -        "type": "boolean"
      -      },
      -      "^success$": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "success",
      -      "_meta",
      -      "error_code",
      -      "message",
      -      "retryable",
      -      "recovery_action"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "patternProperties": {
      +      "^(dropped_summary|transcript_id|recommended_citation)$": {
      +        "type": "string"
      +      },
      +      "^_meta$": {
      +        "$ref": "#/$defs/M"
      +      },
      +      "^domains$": {
      +        "items": {
      +          "additionalProperties": false,
      +          "patternProperties": {
      +            "^(ID|Name)$": {
      +              "type": "string"
      +            },
      +            "^(start|stop|meta_domain_alignment_depth)$": {
      +              "type": "integer"
      +            },
      +            "^metadomain$": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "ID",
      +            "Name",
      +            "start",
      +            "stop",
      +            "metadomain"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "^gene_name$": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "^success$": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "success",
      +      "_meta",
      +      "transcript_id",
      +      "domains",
      +      "recommended_citation"
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "patternProperties": {
      +      "^(message|recovery_action|field|hint)$": {
      +        "type": "string"
      +      },
      +      "^_meta$": {
      +        "$ref": "#/$defs/M"
      +      },
      +      "^allowed_values$": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "^error_code$": {
      +        "enum": [
      +          "invalid_input",
      +          "not_found",
      +          "ambiguous_query",
      +          "upstream_unavailable",
      +          "rate_limited",
      +          "internal"
      +        ]
      +      },
      +      "^retryable$": {
      +        "type": "boolean"
      +      },
      +      "^success$": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "success",
      +      "_meta",
      +      "error_code",
      +      "message",
      +      "retryable",
      +      "recovery_action"
      +    ]
      +  }
      +]
  3. Changed6 schema fields changedv0.3.7
    • removedInput schema / properties / response_mode / default
      Removed value: -"compact"
    • changedInput schema / properties / response_mode / description
      Previous value: -"Verbosity: minimal|compact|standard|full (default compact)."New value: +"Mode."
    • removedInput schema / properties / response_mode / type
      Removed value: -"string"
    • changedInput schema / properties / transcript_id / description
      Previous value: -"A versioned Ensembl transcript id (the .N version suffix is required), e.g. ENST00000269305.4. Resolve a gene symbol with resolve_transcript first."New value: +"ENST."
    • changedInput schema / properties / transcript_id / examples
      Previous value: -[
      -  "ENST00000269305.4"
      -]New value: +[
      +  "ENST00000269305.9"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "M": {
      +      "additionalProperties": false,
      +      "patternProperties": {
      +        "^(tool|request_id|capabilities_version)$": {
      +          "type": "string"
      +        },
      +        "^data_versions$": {
      +          "additionalProperties": false,
      +          "minProperties": 8,
      +          "patternProperties": {
      +            "^(assembly|gencode|uniprot|gnomad|clinvar|pfam|metadome_app|data_doi)$": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "^elapsed_ms$": {
      +          "type": "integer"
      +        },
      +        "^next_commands$": {
      +          "items": {
      +            "additionalProperties": false,
      +            "minProperties": 2,
      +            "properties": {
      +              "arguments": {
      +                "properties": {
      +                  "domains": {
      +                    "additionalProperties": {
      +                      "items": {
      +                        "type": "integer"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "type": "object"
      +                  }
      +                },
      +                "propertyNames": {
      +                  "pattern": "^(transcript_id|position|limit|offset|domains)$"
      +                },
      +                "type": "object"
      +              },
      +              "tool": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "^unsafe_for_clinical_use$": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "tool",
      +        "request_id",
      +        "data_versions",
      +        "unsafe_for_clinical_use"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "patternProperties": {
      +        "^(dropped_summary|transcript_id|recommended_citation)$": {
      +          "type": "string"
      +        },
      +        "^_meta$": {
      +          "$ref": "#/$defs/M"
      +        },
      +        "^domains$": {
      +          "items": {
      +            "additionalProperties": false,
      +            "minProperties": 6,
      +            "patternProperties": {
      +              "^(ID|Name)$": {
      +                "type": "string"
      +              },
      +              "^(start|stop|meta_domain_alignment_depth)$": {
      +                "type": "integer"
      +              },
      +              "^metadomain$": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "^gene_name$": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "^success$": {
      +          "const": true
      +        }
      +      },
      +      "required": [
      +        "success",
      +        "_meta",
      +        "transcript_id",
      +        "domains",
      +        "recommended_citation"
      +      ]
      +    },
      +    {
      +      "additionalProperties": false,
      +      "patternProperties": {
      +        "^(message|recovery_action|field|hint)$": {
      +          "type": "string"
      +        },
      +        "^_meta$": {
      +          "$ref": "#/$defs/M"
      +        },
      +        "^allowed_values$": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "^error_code$": {
      +          "enum": [
      +            "invalid_input",
      +            "not_found",
      +            "ambiguous_query",
      +            "upstream_unavailable",
      +            "rate_limited",
      +            "internal"
      +          ]
      +        },
      +        "^retryable$": {
      +          "type": "boolean"
      +        },
      +        "^success$": {
      +          "const": false
      +        }
      +      },
      +      "required": [
      +        "success",
      +        "_meta",
      +        "error_code",
      +        "message",
      +        "retryable",
      +        "recovery_action"
      +      ]
      +    }
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changedv0.3.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "_meta": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "candidates": {
      -      "type": "array"
      -    },
      -    "data_versions": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "domains": {
      -      "items": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "meta_domain_alignment_depth": {
      -            "type": "integer"
      -          },
      -          "metadomain": {
      -            "type": "boolean"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "start": {
      -            "type": "integer"
      -          },
      -          "stop": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "error_code": {
      -      "type": "string"
      -    },
      -    "field": {
      -      "type": "string"
      -    },
      -    "gene_name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "recommended_citation": {
      -      "type": "string"
      -    },
      -    "recovery_action": {
      -      "type": "string"
      -    },
      -    "retryable": {
      -      "type": "boolean"
      -    },
      -    "success": {
      -      "type": "boolean"
      -    },
      -    "transcript_id": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "success"
      -  ],
      -  "type": "object"
      -}New value: +null
  5. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest of the burden and does so: it discloses the hard dependency on a previously built landscape, which is the main failure mode an agent could hit. It does not say what happens if the landscape is missing (error vs empty result), leaving a minor gap.

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?

Three short sentences, no filler: purpose and payload first, prerequisite second, follow-up third. Every sentence contributes distinct information and the ordering matches how an agent needs the facts.

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 two-parameter read-only tool with no output schema, the description covers purpose, returned fields, the prerequisite, and the natural next call. The only omission is behavior when the landscape is absent, which is a small residual gap.

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 transcript_id and the response_mode enum are already fully documented in the schema. The description only implies that the input is a transcript and says nothing about how response_mode affects the returned domain list, so it adds little beyond structured data — baseline 3.

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?

States a specific verb and resource ("List Pfam domains ... of a transcript") and names the returned fields (id, name, residue range), which is far beyond restating the title. It also distinguishes itself from get_meta_domain, though it frames that sibling as a follow-up rather than an alternative.

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

Usage Guidelines4/5

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

Gives an explicit precondition ("Needs a built landscape (request_tolerance_landscape)") and a clear next step ("Then get_meta_domain for homolog variants"), so an agent knows both when this tool is callable and what typically follows. No explicit statement of when to avoid it, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.