Skip to main content
Glama

submit_function_result

Send a function execution result to resolve a pending interaction, providing the previous interaction ID, environment, function name, call ID, and result.

Instructions

Submit a local function execution result back to a pending interaction (requires_action status).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoantigravity-preview-05-2026
resultYes
call_idYes
function_nameYes
environment_idYes
previous_interaction_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the required action status but does not detail error conditions, side effects, or permissions. While somewhat transparent, more behavioral context is needed.

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?

The description is a single sentence that is front-loaded with the key action and context. Every word adds value, and there is no unnecessary information.

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

Completeness2/5

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

Although an output schema exists, the description does not cover return values, and it fails to explain parameter semantics. For a tool with 6 parameters and medium complexity, the description is incomplete and leaves many questions unanswered.

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%, and the description does not explain any of the 6 parameters (e.g., previous_interaction_id, environment_id, function_name, call_id, result, agent). This is a critical gap, leaving the agent without guidance on parameter values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Submit'), the resource ('local function execution result'), and the context ('back to a pending interaction (requires_action status)'). It effectively distinguishes this tool from siblings like create_interaction or get_interaction_status.

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?

The description implies when to use (when there is a pending interaction requiring action) but does not provide explicit when-not-to-use guidance or mention alternative tools. No prerequisites or conditions are stated.

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/bgembalczyk/agent-antigravity-mcp'

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