Skip to main content
Glama

List snapshot files

src_glob
Read-onlyIdempotent

Use this tool to find stored source paths for app_id. Optionally set version, path prefix, glob, include_dirs and continuation_token. Omitted version reads the latest attempted snapshot. MCP version 2.13.

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": {
      "app_id": "<app_id>"
    },
    "name": "src_glob"
  }
}

Input Schema

NameRequiredDescriptionDefault
globNoGlob pattern to match files (default: **/*)**/*
pathNoDirectory path to search within
app_idYesTarget app id
versionNoVersion to inspect. Omit to use the latest stored snapshot (last_attempt_version).
mcp_versionNoSet to "2.13", the MCP version in this tool's description. Use this tool's version, not another tool's version.
include_dirsNoInclude directory paths in results
continuation_tokenNoToken from previous response for pagination

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.13\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  2. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  3. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  4. Changed1 schema field changed
    • addedInput schema / properties / mcp_version
      Added value: +{
      +  "description": "Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version.",
      +  "maxLength": 32,
      +  "minLength": 1,
      +  "pattern": "^\\d+\\.\\d+(?:\\.\\d+)?$",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / version / description
      Previous value: -"Version to inspect (defaults to applied version)"New value: +"Version to inspect. Omit to use the latest stored snapshot (last_attempt_version)."
  6. Changed1 schema field changed
    • changedInput schema / properties / version / description
      Previous value: -"Version to inspect. Omit to use the latest stored snapshot (last_attempt_version)."New value: +"Version to inspect (defaults to applied version)"
  7. Changed1 schema field changed
    • changedInput schema / properties / version / description
      Previous value: -"Version to inspect (defaults to applied version)"New value: +"Version to inspect. Omit to use the latest stored snapshot (last_attempt_version)."
  8. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior: omitting version falls back to the latest attempted snapshot (last_attempt_version), which is a non-obvious default, and it mentions continuation_token, implying paginated results. It still does not say what the result entries look like or whether a truncated result set signals more pages.

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?

Front-loaded with the purpose, followed by the optional-parameter note and the version default; two sentences plus a version stamp, with little waste. The middle sentence mostly re-lists schema fields, and "MCP version 2.13." is boilerplate that only services the mcp_version parameter.

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?

For a 7-parameter read-only listing tool with no output schema, the description covers purpose and the version default but says nothing about the shape of returned paths, whether results are relative to path, or how pagination termination is signaled. Adequate to start a call, but not complete enough for an agent to interpret results confidently.

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 defines every parameter, including the same version-omission semantics restated in the description. The description's enumeration of optional parameters (version, path prefix, glob, include_dirs, continuation_token) duplicates the schema rather than adding new meaning such as pattern syntax or path semantics.

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?

"Use this tool to find stored source paths for app_id" states a specific verb (find) and resource (stored source paths), and the title "List snapshot files" reinforces it. It does not explicitly contrast itself with the closest siblings (src_read, src_grep), so an agent must infer that this is the discovery/listing step rather than the read or search step.

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

Usage Guidelines3/5

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

Usage is implied by the phrase "find stored source paths" plus the note that omitting version reads the latest attempted snapshot, which tells the agent the default retrieval mode. There is no explicit when-to-use versus src_read or src_grep, no stated prerequisite that a prior deploy/version must exist, and no guidance on choosing path vs glob vs include_dirs.

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