Skip to main content
Glama

run_udf

Execute a user-defined function by providing its ID and parameters to process real-time data streams.

Instructions

Execute UDF function.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udf_idYes
parametersYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

With no annotations provided, the description carries full burden but only says 'Execute UDF function.' It does not disclose any behavioral traits such as whether execution is synchronous, whether side effects occur, or what happens on success/failure. This is completely insufficient for an agent to predict behavior.

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

Conciseness2/5

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

The description is extremely concise (four words) but at the cost of essential detail. While brevity is good, under-specification hinders usability. A more informative description would still be concise.

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

Completeness1/5

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

Given the tool has two required parameters, one being an arbitrary object, and an output schema exists, the description provides none of this information. The agent cannot determine what the tool returns or how to structure input. Completeness is critically low.

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

Parameters1/5

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

Schema description coverage is 0%, meaning the schema provides no descriptions for the two required parameters (udf_id and parameters). The description adds no value by explaining what these parameters represent or how they should be structured. An agent has no guidance on how to correctly populate parameters.

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 verb 'Execute' and the resource 'UDF function', distinguishing it from siblings like create_udf or update_udf. However, it lacks any additional context that might help the agent understand the scope or nature of execution.

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?

There is no guidance on when to use this tool versus alternatives such as execute_query or other execution tools. No when-not or prerequisite information is provided.

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/BrooksIan/SSB-MCP-Server'

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