Skip to main content
Glama

Script Vault: fetch a script (or list all)

connections_script_get
Read-only

With tool_name: fetch ONE stored script's code + metadata (the local script_run calls this automatically - call it directly only to inspect or port code). WITHOUT tool_name: list this company's stored scripts (metadata + size + locked status, never code), paged 200 at a time - the response's total_count/next_offset say whether the list continues; pass offset to walk it. Access is tier-gated by size: a script larger than your current plan's ceiling returns script_locked_by_tier (the script is kept, not deleted - upgrade restores access).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoList mode: page size, 1-200 (default 200).
offsetNoList mode: row offset for paging (default 0). The response's next_offset is the value to pass for the following page, or null at the end.
tool_nameNoThe script to fetch. Omit to list stored scripts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the read-only safety profile, and the description adds substantial context beyond them: tier-gated access, the script_locked_by_tier error and that the script is kept not deleted, and that list mode never returns code. That is exactly the behavioral detail annotations don't provide.

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?

One dense paragraph, front-loaded with the two modes and the automatic-call caveat before paging and tier details. Efficient, though the pagination and error clauses push it toward the longer end for a three-parameter tool.

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

Completeness5/5

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

No output schema, yet the description discloses what each mode returns (code+metadata vs metadata+size+locked status, never code) and how paging works via total_count/next_offset. Nothing needed to call it correctly is missing.

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% and the schema already documents limit, offset/next_offset, and tool_name's omit-to-list semantics, so the description largely restates them. It adds a mode-level framing (tool_name as the mode switch) but no new syntax or format detail. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource and cleanly splits two modes: 'fetch ONE stored script's code + metadata' vs 'list this company's stored scripts'. An agent can distinguish this from siblings like connections_script_save/delete without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition ('call it directly only to inspect or port code') plus context that script_run calls it automatically, and the mode switch (tool_name present/absent) is spelled out. Nothing is left to inference.

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