Skip to main content
Glama

get_function_docs

Retrieves syntax, parameters, and examples for a specific GorillaROI Google Sheets function, so you can look up how to use any function before writing formulas.

Instructions

Get detailed documentation for a specific GorillaROI function including syntax, parameters, and examples.

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": {
      "function_name": "<function_name>"
    },
    "name": "get_function_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
function_nameYesFunction name (e.g., 'GORILLA_SALESCOUNT' or just 'SALESCOUNT')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the shape of the returned documentation (syntax, parameters, examples), which is valuable without an output schema, but says nothing about behavior for unknown function names, case sensitivity, or whether the call is read-only.

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 well-formed sentence with the object of the lookup front-loaded and no filler. It is tight, though so brief that it borders on under-specification rather than being optimally structured.

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?

For a simple one-parameter read lookup with no output schema, the description tells the agent what it retrieves and roughly what the document contains. The only real gap is undefined behavior on an invalid or missing function name.

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?

With one parameter and 100% schema coverage, the schema already documents the name argument and even shows the 'GORILLA_SALESCOUNT' vs 'SALESCOUNT' forms. The description adds no meaning beyond that, so the baseline 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?

States a specific verb and resource ('Get detailed documentation for a specific GorillaROI function') plus the payload of the result ('syntax, parameters, and examples'). It is clearly distinguishable from list/search siblings by being a single-function lookup, though it never names those siblings explicitly.

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 only implied: the agent must infer that this is the tool for a known function name and that search_functions or list_functions_in_category are for discovery. No explicit when-to-use or when-not-to-use guidance is given.

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