Skip to main content
Glama

get_function

Return a named SCSS function's signature, parameters, docs, body, and source location for exact implementation inspection.

Instructions

Return one function: signature, parameters, doc, body, source location.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFunction name (e.g. "color", "space", "radius", "shadow").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does useful work by revealing the payload shape (body and source location are included, so the caller should expect full source text), but it says nothing about failure behavior when a name is not found, ambiguity handling, or whether results are cached/versioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that names the operation and then lists the return fields with zero filler. Nothing is repeated from the schema or the name.

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?

With no output schema present, the description correctly compensates by enumerating the returned fields. For a one-parameter, fully documented read tool this is nearly sufficient; only error/not-found behavior is left unaddressed.

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 coverage is 100% and the schema itself supplies the format expectation plus concrete name examples ('color', 'space', 'radius', 'shadow'). The description adds no additional semantics (no exact-match vs fuzzy behavior, no qualified-name syntax), 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 ('Return one function') and resource, and enumerates exactly what comes back: signature, parameters, doc, body, source location. The singular 'one function' plus the get_/list_/search_ sibling naming pattern makes it distinguishable from list_functions and search_functions, 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 required 'name' parameter and the single-result framing suggest fetching a known function by name, leaving list_functions/search_functions for discovery. There is no explicit when-to-use or when-not-to-use statement, and no mention of how to find a name in the first place.

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