Skip to main content
Glama

List sources

sources_list
Read-onlyIdempotent

Lists source eligibility, publication selection and refresh status without ingestion.

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID from agents_list or agent_create.

Output Schema

NameRequiredDescriptionDefault
sourcesYes
agent_idYes
source_versionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
  2. Changed4 schema fields changed
    • addedOutput schema / $defs / RepositorySelectedFile
      Added value: +{
      +  "properties": {
      +    "path": {
      +      "title": "Path",
      +      "type": "string"
      +    },
      +    "sha": {
      +      "title": "Sha",
      +      "type": "string"
      +    },
      +    "size": {
      +      "title": "Size",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "path",
      +    "sha",
      +    "size"
      +  ],
      +  "title": "RepositorySelectedFile",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / RepositorySelection
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "excluded_paths": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "maxItems": 100,
      +      "title": "Excluded Paths",
      +      "type": "array"
      +    },
      +    "files": {
      +      "items": {
      +        "$ref": "#/$defs/RepositorySelectedFile"
      +      },
      +      "title": "Files",
      +      "type": "array"
      +    },
      +    "included_paths": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "maxItems": 100,
      +      "title": "Included Paths",
      +      "type": "array"
      +    },
      +    "rule": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "customer_docs",
      +            "docs_directory",
      +            "docs_site:mkdocs",
      +            "docs_site:docusaurus",
      +            "docs_site:mintlify",
      +            "docs_site:vitepress",
      +            "docs_site:starlight",
      +            "docs_site:gitbook",
      +            "docs_site:sphinx"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Rule"
      +    },
      +    "skipped_count": {
      +      "default": 0,
      +      "title": "Skipped Count",
      +      "type": "integer"
      +    },
      +    "skipped_files": {
      +      "items": {
      +        "$ref": "#/$defs/RepositorySkippedFile"
      +      },
      +      "title": "Skipped Files",
      +      "type": "array"
      +    }
      +  },
      +  "title": "RepositorySelection",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / RepositorySkippedFile
      Added value: +{
      +  "properties": {
      +    "path": {
      +      "title": "Path",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "enum": [
      +        "internal",
      +        "excluded",
      +        "not_published",
      +        "file_too_large",
      +        "unsupported_file"
      +      ],
      +      "title": "Reason",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "path",
      +    "reason"
      +  ],
      +  "title": "RepositorySkippedFile",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / SourceState / properties / repository_selection
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/RepositorySelection"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description contributes the useful fact that no ingestion occurs, but does not explain pagination, what 'eligibility' means, or how refresh status is derived.

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?

A single front-loaded sentence with no filler, and the verb-plus-facets ordering lets the agent triage quickly. It is dense with unexplained jargon ('eligibility', 'publication selection') that slightly undercuts its efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the single parameter is fully documented in the schema. However, key domain terms in the description are left undefined and the relationship to neighboring source_* tools is unstated, leaving the definition only minimally viable.

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?

There is only one parameter (agent_id) and schema coverage is 100%, with the schema already explaining it comes from agents_list or agent_create. The description adds no additional meaning about the required agent scoping, so the baseline of 3 applies.

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 gives a concrete verb (Lists) plus the specific facets returned: source eligibility, publication selection, and refresh status. The 'without ingestion' clause hints at the boundary with source_read/source_import_* tools, though it never names a sibling explicitly.

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 statement of when to pick this over source_read, publication_history, or publication_review. 'Without ingestion' is a vague hint at scope rather than an actionable routing rule, so an agent must infer the use case from the title alone.

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.

Resources