Azure-Samples / Azure-Samples/remote-mcp-functions-java

Returning values from mcp tool is not working

Open
#1 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Bicep
Stars
2
Forks
6
PR merge metrics
No merged PRs in 30d

Description

There is no way to return values from the function to the caller.
Tried to return a sting/interger both did not return values to the caller.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the remote MCP server quickstart with a tool that returns a string and one that returns an integer. Trace the tool return path from the Java Azure Functions entry point to the caller; done means both values are returned successfully and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.