Skip to main content
Glama

Get Repositories

get_repositories
Read-onlyIdempotent

Find IMPLEMENTATIONS of a paper (by arXiv id): the linked GitHub repository plus the most popular Hugging Face models, demo Spaces, and datasets that implement or reproduce it, the "papers with code" view. Use for "code/implementation for ", "models trained on ".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "arxiv_id": "2312.00752"
    },
    "name": "get_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
arxiv_idYesarXiv identifier (e.g. "2312.00752").

Output Schema

NameRequiredDescriptionDefault
titleNo
countsNo
arxiv_idNo
datasetsNo
top_modelsNo
demo_spacesNo
github_repoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedOutput schema / properties / arxiv_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / counts
      Added value: +{
      +  "properties": {
      +    "datasets": {
      +      "type": "number"
      +    },
      +    "models": {
      +      "type": "number"
      +    },
      +    "spaces": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / datasets
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "downloads": {
      +        "type": "number"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / demo_spaces
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "likes": {
      +        "type": "null"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / github_repo
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / paper_id
      Removed value: -{
      -  "description": "The paper ID queried",
      -  "type": "string"
      -}
    • removedOutput schema / properties / repositories
      Removed value: -{
      -  "description": "Array of repository objects",
      -  "items": {
      -    "properties": {
      -      "description": {
      -        "description": "Repository description",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "framework": {
      -        "description": "Framework used in the repository",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Repository ID",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "is_official": {
      -        "description": "Whether this is the official implementation",
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "description": "Repository name",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "owner": {
      -        "description": "Repository owner",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "stars": {
      -        "description": "Number of stars on the repository",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "description": "Repository URL",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "url",
      -      "owner",
      -      "name",
      -      "description",
      -      "stars",
      -      "framework",
      -      "is_official"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / title
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / top_models
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "downloads": {
      +        "type": "number"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "likes": {
      +        "type": "number"
      +      },
      +      "task": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / total
      Removed value: -{
      -  "description": "Total number of repositories linked to the paper",
      -  "type": "number"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "paper_id",
      -  "total",
      -  "repositories"
      -]
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "id": "attention-is-all-you-need"
      -  }
      -]New value: +[
      +  {
      +    "arxiv_id": "2312.00752"
      +  }
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / arxiv_id
      Added value: +{
      +  "description": "arXiv identifier (e.g. \"2312.00752\").",
      +  "type": "string"
      +}
    • removedInput schema / properties / id
      Removed value: -{
      -  "description": "Papers With Code paper ID",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "arxiv_id"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "paper_id": {
      +      "description": "The paper ID queried",
      +      "type": "string"
      +    },
      +    "repositories": {
      +      "description": "Array of repository objects",
      +      "items": {
      +        "properties": {
      +          "description": {
      +            "description": "Repository description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "framework": {
      +            "description": "Framework used in the repository",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Repository ID",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "is_official": {
      +            "description": "Whether this is the official implementation",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Repository name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "owner": {
      +            "description": "Repository owner",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "stars": {
      +            "description": "Number of stars on the repository",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "Repository URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "url",
      +          "owner",
      +          "name",
      +          "description",
      +          "stars",
      +          "framework",
      +          "is_official"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "description": "Total number of repositories linked to the paper",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "paper_id",
      +    "total",
      +    "repositories"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "attention-is-all-you-need"
      +  }
      +]
  6. 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 readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds that it aggregates multiple sources and surfaces the 'most popular' models/repos, hinting at ranking behavior, but does not say how popularity is ranked, whether empty results are possible, or how results are ordered.

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?

Two sentences, lead-off action verb capitalized for scanning, with the enumeration of returned artifact types doing real work. The trailing quoted usage fragment is a little dense but not wasteful.

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 single-parameter, read-only lookup with an output schema and full annotation coverage, the description gives enough to know what the call returns and when to reach for it. Missing only edge-case behavior (no implementations found, ranking criteria).

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% with an example value, so the parameter is fully documented structurally. The description adds only a mild constraint — lookup is keyed on arXiv id rather than title — which is useful but marginal against a schema that already says this.

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: 'Find IMPLEMENTATIONS of a paper (by arXiv id)' and enumerates exactly what comes back — GitHub repo, HF models, Spaces, datasets. The phrase 'the "papers with code" view' pins the concept well, though it never names the sibling paperswithcode_get_paper to contrast with.

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 concrete trigger phrasings — 'code/implementation for <paper>', 'models trained on <paper>' — which is explicit when-to-use guidance. It stops short of saying when NOT to use it (e.g. to get the paper's metadata or abstract, which a sibling likely handles).

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.