Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
METRICOOL_USER_ID | Yes | Your Metricool user ID | |
METRICOOL_USER_TOKEN | Yes | Your Metricool API token |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_brands | Copy Get the list of brands from your Metricool account.
Add to the result that the only networks with competitors are Instagram, Facebook, Twitch, YouTube, Twitter, and Bluesky. |
get_Instagram_Reels | Copy Get the list of Instagram Reels from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Instagram_Posts | Copy Get the list of Instagram Posts from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Instagram_Stories | Copy Get the list of Instagram Stories from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 20250101
end date: End date of the period to get the data. The format is 20250101
blog id: Blog id of the Metricool brand account. |
get_Tiktok_Videos | Copy Get the list of Tiktok Videos from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Facebook_Reels | Copy Get the list of Facebook Reels from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Facebook_Posts | Copy Get the list of Facebook Posts from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Facebook_Stories | Copy Get the list of Facebook Stories from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Thread_Posts | Copy Get the list of Threads Posts from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_X_Posts | Copy Get the list of X (Twitter) Posts from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 20250101
end date: End date of the period to get the data. The format is 20250101
blog id: Blog id of the Metricool brand account. |
get_Bluesky_Posts | Copy Get the list of Bluesky Posts from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Linkedin_Posts | Copy Get the list of Linkedin Posts from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Pinterest_Pins | Copy Get the list of Pinterest Pins from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Youtube_Videos | Copy Get the list of Youtube Videos from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Twitch_Videos | Copy Get the list of Twitch Videos from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 20250101
end date: End date of the period to get the data. The format is 20250101
blog id: Blog id of the Metricool brand account. |
get_FacebookAds_Campaigns | Copy Get the list of Facebook Ads Campaigns from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 20250101
end date: End date of the period to get the data. The format is 20250101
blog id: Blog id of the Metricool brand account. |
get_GoogleAds_Campaigns | Copy Get the list of Google Ads Campaigns from your Metricool account.
Args:
init date: Init date of the period to get the data. The format is 20250101
end date: End date of the period to get the data. The format is 20250101
blog id: Blog id of the Metricool brand account. |
get_TiktokAds_Campaigns | Copy Get the list of Tiktok Ads Campaigns from your Metricool brand account.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account. |
get_Network_Competitors | Copy Get the list of your competitors from your Metricool brand account.
Add interesting conclusions for my brand about my competitors.
Args:
init date: Init date of the period to get the data. The format is 2025-01-01
end date: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account.
limit: Limit of competitors. By default = 10
timezone: Timezone of the post. The format is "Europe%2FMadrid". Use the timezone of the user extracted from the get_brands tool. |
post_Schedule_Post | Copy Schedule a post to Metricool at a specific date and time.
To be able to schedule the post, you need to maintain the structure.
You can use the tool get_Best_Time_To_Post to get the best time to post for a specific provider if the user doesn't specify the time to post.
If the post include Instagram, is a must to have at least one image or video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Pinterest, is a must to have a image and the board where to publish the pin. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Youtube, is a must to have a video, select the audience (if it's video made for kids or not) and the title of the video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Tiktok, is a must to have at least one image or video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the posts is Facebook Reel, is a must to have a video. If is Facebook Story, image or video is needed. If you don't have more information, you can ask the user about it and wait until you have the information.
The date can't be in the past.
Args:
date: Date and time to publish the post. The format is 2025-01-01T00:00:00
blog id: Blog id of the Metricool brand account.
info: Data of the post to be scheduled. Should be a json object with the following fields:
autoPublish: True or False, default is True.
draft: True or False, default is False.
firstCommentText: Text of the first comment of the post. Default ""
hasNotReadNotes: True or False, default is False.
media: default is empty list.
mediaAltText: default is empty list.
providers: always need at least one provider with the format [{"network":"<string>"}]. Use "twitter" for X posts.
publicationDate: Date and timezone of the post. The format is {dateTime:"2025-01-01T00:00:00", timezone:"Europe/Madrid"}. Use the timezone of the user extracted from the get_brands tool.
shortener: True or False, default is False.
smartLinkData: default is {ids:[]}
text: Text of the post.
Always you need to add the networkData for the posts, as empty if you don't have more information. Only include the networkData for the networks you have in the providers list.
The format is "twitterData": {"tags":[]}, Tags is used for tagging people on the images of the post, not hashtags.
"facebookData": {"boost":0, "boostPayer":"", "boostBeneficiary":"", "type":"", "title":""},
"instagramData": {"autoPublish":True, "tags":[]},
"linkedinData": {"documentTitle": "<string>", "publishImagesAsPDF": "<boolean>", "previewIncluded": "<boolean>", "type": "<string>", "poll": {"question": "<string>", "options": [{"text": "<string>"}, {"text": "<string>"}], "settings": {"duration": "<string>"}}},
"pinterestData": {"boardId":"", "pinTitle":"","pinLink":"", "pinNewFormat":True},
"youtubeData": {"title": "<string>", "type": "<string>", "privacy": "<string>", "tags": [ "<string>", "<string>" ], "category": "<string>", "madeForKids": "<boolean>"},
"twitchData": {"autoPublish":True, "tags":[]},
"tiktokData": {"disableComment": "<boolean>", "disableDuet": "<boolean>", "disableStitch": "<boolean>", "privacyOption": "<string>", "commercialContentThirdParty": "<boolean>", "commercialContentOwnBrand": "<boolean>", "title": "<string>", "autoAddMusic": "<boolean>", "photoCoverIndex": "<integer>"},
"blueskyData": {"postLanguages":["",""]},
"threadsData":{"allowedCountryCodes:["",""]}
The other fields are optional, but you need to add the ones you have. If you don't have more information, you can ask the user about it and wait until you have the information. |
get_Best_Time_To_Post | Copy Get the best time to post for a specific provider. The return is a list of hours and days with a value. The higher the value, the best time to post.
Try to get the best for as maximum of 1 week. If you have day to publish but not hours, choose the start and end of this day.
Args:
start: Start date of the period to get the data. The format is 2025-01-01
end: End date of the period to get the data. The format is 2025-01-01
blog id: Blog id of the Metricool brand account.
provider: Provider of the post. The format is "twitter", "facebook", "instagram", "linkedin", "youtube", "tiktok". Only these are accepted.
timezone: Timezone of the post. The format is "Europe%2FMadrid". Use the timezone of the user extracted from the get_brands tool. |
update_Schedule_Post | Copy Update a scheduled post in Metricool. You need the id of the post to update. Get it from the get_Scheduled_Posts tool previous on the conversation.
Ask the user if they're sure they want to modify the post, including what will be changed, and require them to confirm.
Do not retry if there is a problem.
To update the post, ensure the full original content is included in the request, modifying only the new information while keeping the rest unchanged and maintaining the original structure.
If the post include Instagram, is a must to have at least one image or video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Pinterest, is a must to have a image and the board where to publish the pin. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Youtube, is a must to have a video, select the audience (if it's video made for kids or not) and the title of the video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the post include Tiktok, is a must to have at least one image or video. If you don't have more information, you can ask the user about it and wait until you have the information.
If the posts is Facebook Reel, is a must to have a video. If is Facebook Story, image or video is needed. If you don't have more information, you can ask the user about it and wait until you have the information.
The date can't be in the past.
Args:
date: Date and time to publish the post. The format is 2025-01-01T00:00:00
id: id of the post to update. Get it from the get_Scheduled_Posts tool previous on the conversation.
blog id: Blog id of the Metricool brand account.
info: Data of the post to be scheduled. You need to send only the fields you want to update. This is so important. Should be a json object with the following fields:
id: id of the post to update. Get it from the get_Scheduled_Posts tool previous on the conversation. The format is "id":<integer>
uuid: uuid of the post to update. Get it from the get_Scheduled_Posts tool previous on the conversation. The format is "uuid":"<string>"
autoPublish: True or False, default is True.
draft: True or False, default is False.
firstCommentText: Text of the first comment of the post. Default ""
hasNotReadNotes: True or False, default is False.
media: default is empty list.
mediaAltText: default is empty list.
providers: always need at least one provider with the format [{"network":"<string>"}]. Use "twitter" for X posts.
publicationDate: Date and timezone of the post. The format is {dateTime:"2025-01-01T00:00:00", timezone:"Europe/Madrid"}
shortener: True or False, default is False.
smartLinkData: default is {ids:[]}
text: Text of the post.
Always you need to add the networkData for the posts, as empty if you don't have more information. Only include the networkData for the networks you have in the providers list.
The format is "twitterData": {"tags":[]}, Tags is used for tagging people on the images of the post, not hashtags.
"facebookData": {"boost":0, "boostPayer":"", "boostBeneficiary":"", "type":"", "title":""},
"instagramData": {"autoPublish":True, "tags":[]},
"linkedinData": {"documentTitle": "<string>", "publishImagesAsPDF": "<boolean>", "previewIncluded": "<boolean>", "type": "<string>", "poll": {"question": "<string>", "options": [{"text": "<string>"}, {"text": "<string>"}], "settings": {"duration": "<string>"}}},
"pinterestData": {"boardId":"", "pinTitle":"","pinLink":"", "pinNewFormat":True},
"youtubeData": {"title": "<string>", "type": "<string>", "privacy": "<string>", "tags": [ "<string>", "<string>" ], "category": "<string>", "madeForKids": "<boolean>"},
"twitchData": {"autoPublish":True, "tags":[]},
"tiktokData": {"disableComment": "<boolean>", "disableDuet": "<boolean>", "disableStitch": "<boolean>", "privacyOption": "<string>", "commercialContentThirdParty": "<boolean>", "commercialContentOwnBrand": "<boolean>", "title": "<string>", "autoAddMusic": "<boolean>", "photoCoverIndex": "<integer>"},
"blueskyData": {"postLanguages":["",""]},
"threadsData":{"allowedCountryCodes:["",""]} |