Skip to main content
Glama

get_script_metrics

Retrieve execution analytics for Google Apps Script projects, including active users, total executions, and failed executions over time.

Instructions

Gets execution metrics for a script project.

Returns analytics data including active users, total executions, and failed executions over time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesUser's email address
script_idYesThe script project ID
metrics_granularityNoGranularity of metrics - "DAILY" or "WEEKLY"DAILY

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 mentions the tool returns analytics data but doesn't specify whether it's read-only, requires permissions, has rate limits, or details the output format. For a data retrieval tool with zero annotation coverage, this leaves significant behavioral gaps.

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 concise with two sentences that directly state the purpose and what data is returned. It's front-loaded and wastes no words, though it could be slightly more structured by explicitly listing the metrics or usage scenarios.

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?

Given that an output schema exists (context signals indicate 'Has output schema: true'), the description doesn't need to explain return values. However, for a tool with no annotations and multiple parameters, it lacks context on permissions, data freshness, or error handling, making it minimally adequate but with clear gaps.

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 fully documents all three parameters. The description adds no additional parameter semantics beyond what's in the schema, such as explaining how 'metrics_granularity' affects the returned data. This meets the baseline for high schema coverage.

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 with a specific verb ('Gets') and resource ('execution metrics for a script project'), making it easy to understand what it does. However, it doesn't differentiate from sibling tools like 'get_script_project' or 'get_script_content' that also retrieve script-related information, 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. With many sibling tools that retrieve script-related data (e.g., 'get_script_project', 'get_script_content'), there's no indication of when analytics metrics are preferred over other script information, leaving the agent without usage context.

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/HuntsDesk/ve-gws'

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