Skip to main content
Glama

get_script_content_tool

Retrieve the content of a specific file from a Google Apps Script project by providing the script ID and file name.

Instructions

Retrieve content of a specific file within a project.

Args: script_id: The script project ID file_name: Name of the file to retrieve (e.g., "Code", "appsscript")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
script_idYes
file_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states this is a retrieval operation, implying it's likely read-only and non-destructive, but doesn't explicitly confirm this or mention any constraints like authentication needs, rate limits, or error conditions. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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?

The description is appropriately sized and front-loaded: the first sentence states the purpose, followed by a structured 'Args:' section. There's no wasted text, though the formatting could be slightly more polished (e.g., using bullet points). Every sentence earns its place.

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?

Given the tool's moderate complexity (2 required parameters), no annotations, and the presence of an output schema (which handles return values), the description is reasonably complete. It covers the purpose and parameter semantics adequately. However, it lacks behavioral context (e.g., safety, errors) and usage guidelines, which holds it back from a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It provides clear semantics for both parameters: 'script_id: The script project ID' and 'file_name: Name of the file to retrieve (e.g., "Code", "appsscript")'. This adds meaningful context beyond the bare schema, though it doesn't cover all possible nuances (e.g., file name constraints or script ID format).

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 clearly states the tool's purpose: 'Retrieve content of a specific file within a project.' This is a specific verb ('Retrieve') + resource ('content of a specific file within a project'), making the function unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'get_doc_content_tool' or 'get_drive_file_content_tool' beyond the project context, which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing script project), exclusions, or comparisons to sibling tools like 'get_script_project_tool' or 'get_version_tool'. The agent must infer usage from the purpose alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sam-ent/appscript-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server