Hello, Basic question but I can't find anything in the documentation - I added MCP servers as "tools" in my agent definition. In the agent instructions, I added a step by step process, and, the last step is : Then you must create a Jira ticket by using the provided Jira MCP tool It worked one time a few days ago but, since then, I didn't manage to make the agent call the tool. Is there any best practice to ask agent deal with MCP tools ?
Thanks Thomas Albisser, the way you used it should work just fine. Is the tool still properly setup at the workspace level? Server running properly, authentification working well, etc. What does your agent say when you say something like "use tool call "Jira" and do X"?
Most of the time, it say nothing. One time, there was a "Note: There was an error while building instructions for Jira ticket creation." Any logs or something to help debug ?
Sébastien Flory what would be the best way to debug here? 🙏
You have no more information from the "tool output" window ?
or on Jira's side ?
no, I just see on Zapier than the tool wasn't called
I mean, in our tool output (in the conversation)
No
Thomas Albisser if you ask your agent to list the tools like "List all the tools available to you as well as their arguments".
Can you show me the answer ?
Also, if you click on the jira action in agent builder, it should list the tools (aka function) from your MCP server, what does it says ?
Here are all the available tools and their parameters:
include_data_sources_3
Description: Retrieves markdown format for Jira descriptions
Parameters: None required
search_data_sources_2
Description: Searches CRM and help desk system (support tickets, meeting notes & transcripts)
Required Parameters:
query: Search string for semantic similarity search
relativeTimeFrame: Time restriction (all, {k}h, {k}d, {k}w, {k}m, {k}y where k is a number)
search_data_sources_3
Description: Searches ticketing system (US-Web/fliip, MOBILE, ROAD, DATA projects)
Required Parameters:
query: Search string for semantic similarity search
relativeTimeFrame: Time restriction (all, {k}h, {k}d, {k}w, {k}m, {k}y where k is a number)
include_data_sources
Description: Retrieves user story template
Parameters: None required
search_data_sources_4
Description: Searches Slack channels for support questions & tickets
Required Parameters:
query: Search string for semantic similarity search
relativeTimeFrame: Time restriction (all, {k}h, {k}d, {k}w, {k}m, {k}y where k is a number)
search_data_sources
Description: Searches source code repositories
Required Parameters:
query: Search string for semantic similarity search
relativeTimeFrame: Time restriction (all, {k}h, {k}d, {k}w, {k}m, {k}y where k is a number)
reasoning__advanced_reasoning
Description: Offloads complex reasoning tasks to a powerful reasoning model
Parameters: None required
Note: There seems to be an error with the Jira tools availability, so we currently cannot create Jira tickets directly. You'll need to provide the Jira ticket content in markdown format that you can copy/paste manually.
seems like we can't connect to the jira server
How does it look in spaces > administration > tools if you try to resync ?
https://screencasts.myfliip.com/recordings/x8sJsT5j1DkB8tfD6lpE for the tool list
Ok, I tried to resync
but still the same error Note: There seems to be an error with the Jira tools, so direct Jira ticket creation functionality is not available. I will still format the output in Jira wiki format, but you'll need to manually create the ticket.
can you send me in private DM the full url of the server ?
It seems that my url wasn't /mcp but /sse I updated the URL using pipedream MCP servers, seems to be better now