Skip to main content
Glama

get_workflow_result

Retrieve the final result of a previously started LinkedIn workflow. If the workflow is still running, get an in-progress snapshot and call again later.

Instructions

Check the current state of a previously started Linked API workflow. Returns the final result when the workflow has completed, otherwise returns the current in-progress snapshot ({status, pendingReason, workflowId, operationName, message}). The server long-polls up to waitSeconds while the workflow is still running; if the budget elapses without completion, the in-progress snapshot is returned and the client should call this tool again with the same workflowId and operationName. Exception: when pendingReason is "outsideWorkingHours" the workflow is parked until the account working hours reopen — the server returns immediately without polling, message states when that is, and calling this tool again before then will report the same state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesRequired. The workflow ID returned by the original Linked API tool call.
waitSecondsNoOptional. Maximum seconds the server should wait for the workflow to complete before returning the current in-progress snapshot. Defaults to the maximum the current MCP client allows; pass 0 to get an immediate one-shot snapshot.
operationNameYesRequired. The operationName returned by the original Linked API tool call. Used to map the response to the right operation.
Behavior4/5

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

With no annotations, the description carries full responsibility. It discloses long-polling behavior, timeout semantics, snapshot structure, and the special parked state for outsideWorkingHours, including that repeated calls return the same state. This covers key behavioral traits, though it omits potential rate limits or side effects (e.g., whether polling consumes credits).

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 sized given the tool's polling behavior and edge case. It is front-loaded with purpose, then return behavior, polling details, and exception. Sentences are information-dense but not padded, though the exception explanation could have been condensed slightly.

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 polling tool with no output schema, the description covers the essential usage flow, timeout handling, and special case. It does not describe the final success result's structure, but that is inherently workflow-dependent. Overall, it provides sufficient context for an agent to invoke and interpret responses correctly.

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%, with rich descriptions for all parameters. The description reinforces that workflowId and operationName come from the original call and explains waitSeconds semantics (defaults, 0 for snapshot), but these are already in the schema. The description adds minimal new value beyond the schema, so baseline 3 applies.

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 opens with a specific verb+resource: 'Check the current state of a previously started Linked API workflow.' It clearly distinguishes from siblings by focusing on result retrieval rather than starting (e.g., execute_custom_workflow) or other operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear usage context: call after starting a workflow, poll with waitSeconds, and re-call with same workflowId and operationName if timeout. It also covers the outsideWorkingHours exception. However, it does not explicitly name alternatives or state when not to use the tool, so it falls short of a 5.

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/zecloud/remote-mcp-linkedin'

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