Skip to main content
Glama

InterPro clan metadata and members

interpro_get_clan
Read-onlyIdempotent

Retrieve a Pfam, CDD, or PIRSF clan/set and a cursor page of member entries; optionally include its relationship graph, returned in slices of relationshipLimit nodes and links and paged with relationshipOffset.

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": {
      "accession": "<accession>"
    },
    "name": "interpro_get_clan"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPositive integer member page size; values above 100 are clamped to 100 with a notice; defaults to 20.
cursorNoOpaque nextCursor with unchanged accession, sourceDatabase, and includeRelationships; limit, relationshipOffset, relationshipLimit, and includeThumbnail may change.
accessionYesSet accession: CL plus four digits for Pfam, CL plus five digits for CDD, or PIRSF plus digits. Letter case does not affect routing; no URL syntax.
sourceDatabaseNoInferred from CL plus four digits (Pfam), CL plus five digits (CDD), or PIRSF plus digits. Supply explicitly for nonstandard accessions.
includeThumbnailNoInclude each Wikipedia thumbnail image, base64 data often tens of KB; defaults to false.
relationshipLimitNoPositive integer number of relationship items per slice, counting nodes, then links; values above 5,000 are clamped to 5,000 with a notice; defaults to 20. Requires includeRelationships: true.
relationshipOffsetNoPosition of the first relationship item to return, counting nodes, then links; defaults to 0. A value above 0 requires includeRelationships: true; pass relationshipsPage.nextOffset to continue.
includeRelationshipsNoInclude the relationship graph, one slice of relationshipLimit items per call; defaults to false.

Output Schema

NameRequiredDescriptionDefault
capNoEffective member page size after clamping.
urlNoCanonical InterPro clan website URL.
clanNoComplete metadata, with relationships and Wikipedia thumbnails omitted unless requested; requested relationships hold the slice relationshipsPage locates.
pageNoMember continuation and total.
errorNoPresent when the call failed. Absent on success.
shownNoMembers returned in this page.
noticeNoNext relationship slice call, omitted relationships or thumbnails, or empty-page guidance.
membersNoComplete upstream member records.
accessionNoCanonical requested clan accession.
sourceUrlNoOfficial clan metadata API source URL.
truncatedNoMore members remain.
totalCountNoTotal matching members.
effectiveQueryNoApplied canonical target, relationship, and thumbnail selection.
sourceDatabaseNoSet database.
relationshipsPageNoPosition and totals of the relationship slice; present only when includeRelationships is true.
relationshipsIncludedNoWhether relationship projection was requested.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / accession / description
      Previous value: -"Set accession, such as CL0016 (Pfam), cl21453 (CDD), or PIRSF000047; no URL syntax."New value: +"Set accession: CL plus four digits for Pfam, CL plus five digits for CDD, or PIRSF plus digits. Letter case does not affect routing; no URL syntax."
    • changedInput schema / properties / sourceDatabase / description
      Previous value: -"Inferred from uppercase CL (Pfam), lowercase cl (CDD), or PIRSF; supply explicitly for mixed-case CL prefixes."New value: +"Inferred from CL plus four digits (Pfam), CL plus five digits (CDD), or PIRSF plus digits. Supply explicitly for nonstandard accessions."
  2. Changed7 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque nextCursor with unchanged accession, sourceDatabase, and includeRelationships; limit, relationshipOffset, and includeThumbnail may change."New value: +"Opaque nextCursor with unchanged accession, sourceDatabase, and includeRelationships; limit, relationshipOffset, relationshipLimit, and includeThumbnail may change."
    • changedInput schema / properties / includeRelationships / description
      Previous value: -"Include the relationship graph, one slice per call that fits the response budget; defaults to false."New value: +"Include the relationship graph, one slice of relationshipLimit items per call; defaults to false."
    • addedInput schema / properties / relationshipLimit
      Added value: +{
      +  "description": "Positive integer number of relationship items per slice, counting nodes, then links; values above 5,000 are clamped to 5,000 with a notice; defaults to 20. Requires includeRelationships: true.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `database_mismatch`: Explicit database conflicts with accession routing. `accession_source_unknown`: Accession has no inferred or explicit database. `relationships_not_requested`: relationshipOffset above 0 is supplied without includeRelationships: true; 0 is accepted as a no-op. `clan_not_found`: Set metadata returns 204 or 404. `entry_withdrawn`: Entry or set returns 410. `invalid_cursor`: Cursor decoding or scope fails, or upstream rejects continuation. `upstream_shape_invalid`: Upstream JSON, structure, or continuation is incompatible. `upstream_response_too_large`: An upstream response exceeds 4 MiB. `upstream_rejected`: InterPro returns an unhandled redirect or client rejection. `upstream_unavailable`: InterPro has a network or server failure; HTTP 501 is not retryable. `upstream_timeout`: InterPro returns HTTP 408/504 or an attempt exceeds its deadline. `upstream_rate_limited`: InterPro returns HTTP 429. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `database_mismatch`: Explicit database conflicts with accession routing. `accession_source_unknown`: Accession has no inferred or explicit database. `relationships_not_requested`: relationshipOffset above 0 or any relationshipLimit is supplied without includeRelationships: true; relationshipOffset 0 is accepted as a no-op. `clan_not_found`: Set metadata returns 204 or 404. `entry_withdrawn`: Entry or set returns 410. `invalid_cursor`: Cursor decoding or scope fails, or upstream rejects continuation. `retry_deadline_exceeded`: The shared fifty-second deadline expires across the set metadata and member page. `upstream_shape_invalid`: Upstream JSON, structure, or continuation is incompatible. `upstream_response_too_large`: An upstream response exceeds 4 MiB. `upstream_rejected`: InterPro returns an unhandled redirect or client rejection. `upstream_unavailable`: InterPro has a network or server failure; HTTP 501 is not retryable. `upstream_timeout`: InterPro returns HTTP 408/504 or an attempt exceeds its deadline. `upstream_rate_limited`: InterPro returns HTTP 429. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "database_mismatch",
      -  "accession_source_unknown",
      -  "relationships_not_requested",
      -  "clan_not_found",
      -  "entry_withdrawn",
      -  "invalid_cursor",
      -  "upstream_shape_invalid",
      -  "upstream_response_too_large",
      -  "upstream_rejected",
      -  "upstream_unavailable",
      -  "upstream_timeout",
      -  "upstream_rate_limited"
      -]New value: +[
      +  "database_mismatch",
      +  "accession_source_unknown",
      +  "relationships_not_requested",
      +  "clan_not_found",
      +  "entry_withdrawn",
      +  "invalid_cursor",
      +  "retry_deadline_exceeded",
      +  "upstream_shape_invalid",
      +  "upstream_response_too_large",
      +  "upstream_rejected",
      +  "upstream_unavailable",
      +  "upstream_timeout",
      +  "upstream_rate_limited"
      +]
    • addedOutput schema / properties / relationshipsPage / properties / limit
      Added value: +{
      +  "description": "Effective relationshipLimit after clamping: the most items one slice holds.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / relationshipsPage / required
      Previous value: -[
      -  "totalNodes",
      -  "totalLinks",
      -  "offset",
      -  "returnedNodes",
      -  "returnedLinks",
      -  "hasMore"
      -]New value: +[
      +  "totalNodes",
      +  "totalLinks",
      +  "offset",
      +  "limit",
      +  "returnedNodes",
      +  "returnedLinks",
      +  "hasMore"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered, and the description adds real value beyond that: clamping at 100 members and 5,000 relationship items with a notice, opaque cursor continuation, and a warning that thumbnails are base64 data 'often tens of KB'. The slice counting order (nodes, then links) is also disclosed, though nothing is said about error behavior for invalid accessions.

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?

It is a single front-loaded sentence that opens with the verb and resource, then layers the optional relationship-graph behavior. It runs long and packs several clauses together, but no clause is filler.

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?

With 8 parameters, full schema coverage, an output schema and annotations covering safety and idempotency, the description supplies the behavioral context an agent still needs (clamping, cursor, thumbnail size). The remaining gap is routing guidance relative to sibling getters, which is a usage concern rather than a completeness failure.

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 every parameter is already documented in detail; the baseline of 3 applies. The description reinforces the paging mental model (relationship slices driven by relationshipLimit/relationshipOffset) but adds no format or constraint detail that the schema does not already state.

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 uses a specific verb ('Retrieve') with a precise resource ('a Pfam, CDD, or PIRSF clan/set and a cursor page of member entries') and states the optional addition of the relationship graph, which cleanly separates it from an entry-level getter like interpro_get_entry. It is clear and self-contained, though it never names or contrasts a sibling tool.

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?

There is no when-to-use or when-not-to-use guidance, nor any mention of alternatives such as fetching an entry directly versus a clan. The only conditional language concerns parameter dependencies (relationshipLimit requires includeRelationships), which is not tool-selection guidance.

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.