Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
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 | Get the list of brands from your Metricool account. |
get_brands_complete | Get the list of brands from your Metricool account. Only use this tool if the user asks specifically for his brands, in every other case use get_brands. Add to the result that the only networks with competitors are Instagram, Facebook, Twitch, YouTube, Twitter, and Bluesky. |
get_instagram_reels | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_instagram_posts | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_instagram_stories | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_tiktok_videos | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_facebook_reels | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_facebook_posts | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_facebook_stories | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_thread_posts | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_x_posts | 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 YYYYMMDD end date: End date of the period to get the data. The format is YYYYMMDD blog id: Blog id of the Metricool brand account. |
get_bluesky_posts | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_linkedin_posts | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_pinterest_pins | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_youtube_videos | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_twitch_videos | 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 YYYYMMDD end date: End date of the period to get the data. The format is YYYYMMDD blog id: Blog id of the Metricool brand account. |
get_facebookads_campaigns | 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 YYYYMMDD end date: End date of the period to get the data. The format is YYYYMMDD blog id: Blog id of the Metricool brand account. |
get_googleads_campaigns | 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 YYYYMMDD end date: End date of the period to get the data. The format is YYYYMMDD blog id: Blog id of the Metricool brand account. |
get_tiktokads_campaigns | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD blog id: Blog id of the Metricool brand account. |
get_network_competitors | 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 YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD network: Network to retrieve the competitors. The format is "twitter", "facebook", "instagram", "youtube", "twitch" and "bluesky". Only these are accepted. 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. |
get_network_competitors_posts | Get the list of posts from your competitors from your Metricool brand account. Add interesting conclusions for my brand about my competitors and analyze their posts. Args: init date: Init date of the period to get the data. The format is YYYY-MM-DD end date: End date of the period to get the data. The format is YYYY-MM-DD network: Network to retrieve the posts. The format is "twitter", "facebook", "instagram", "youtube", "twitch" and "bluesky". Only these are accepted. blog id: Blog id of the Metricool brand account. limit: Limit of posts of competitors. By default = 50 timezone: Timezone of the post. The format is "Europe%2FMadrid". Use the timezone of the user extracted from the get_brands tool. |
get_pinterest_boards | Get the list of Pinterest boards for a specific Metricool brand (blog_id). If the user doesn't provide a blog_id, ask for it. Args: blog_id: Blog id of the Metricool brand account. |
post_schedule_post | 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. Posts must include an image or a carousel, Reels must include a video, and Stories can include either an image or a 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 post 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. If the post is Bluesky, make sure the text does not exceed 300 characters. If the content exceeds that limit, do not retry and return an error informing the user: "Error: The text exceeds the 300-character limit allowed on Bluesky. Please edit it." If the post is for X (formerly Twitter), make sure before posting that the text does not exceed 280 characters. You must NOT split the message into multiple tweets or threads, the message must be evaluated strictly against a 280-character limit. If the text exceeds 280 characters, do not retry and return only the following error message and stop processing: "Error: The text exceeds the 280-character limit allowed on X. Please edit it." The date can't be in the past. DO NOT modify the text if there's any error, just notify the user. Args: date: Date and time to publish the post. The format is YYYY-MM-DDT00: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. descendants: list with the args of the other posts if it is a thread with the format [args of the second post, args of the third post,... ], default is empty list if there is no thread. 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":""}]. Use "twitter" for X posts. publicationDate: Date and timezone of the post. The format is {dateTime:"YYYY-MM-DDT00: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": {"type":"", "title":"", "boost":, "boostPayer":"", "boostBeneficiary":""}, Facebook type can be "POST", "REEL" or "STORY" Facebook title is only available for Facebook videos (This is separate from the main text of the post). Facebook boost, boostPayer, and boostBeneficiary are only included if they are promoted posts. "instagramData": {"type": "" (default = POST), "collaborators":[{username: "string", deleted: false}]], "showReelOnFeed": "" (default = true), "boost":, "boostPayer":"", "boostBeneficiary":""}, Instagram type can be "POST", "REEL" or "STORY". There could be more than one collaborator, following the same structure. "linkedinData": {"documentTitle": "", "publishImagesAsPDF": "" (default = false), "previewIncluded": "" (default = true), "type": "" (default = post), "poll": {"question": "", "options": [{"text": ""}, {"text": ""}], "settings": {"duration": ""}}}, Linkedin type can be "post" or "poll". If there is a documentTitle in Linkedin, publishImagesAsPDF must be true. Linkedin poll duration can be "ONE_DAY", "THREE_DAYS", "SEVEN_DAYS " or "FOURTEEN_DAYS ". "pinterestData": {"boardId":"", "pinTitle":"","pinLink":"", "pinNewFormat":""}, "youtubeData": {"title": "", "type": "" (default = video), "privacy": "" (default = public), "tags": [ "", "" ], "category": "" (optional field), "madeForKids": ""}, Youtube type can be "video" or "short" and privacy can be "public", "unlisted" or "private". Youtube category can be FILM_ANIMATION, AUTOS_VEHICLES, MUSIC, PETS_ANIMALS, SPORTS, TRAVEL_EVENTS, GAMING, PEOPLE_BLOGS, COMEDY, ENTERTAINMENT, NEWS_POLITICS, HOWTO_STYLE, EDUCATION, SCIENCE_TECHNOLOGY, NONPROFITS_ACTIVISM. "twitchData": {"autoPublish":"", "tags":[]}, "tiktokData": {"disableComment": "" (default = false), "disableDuet": "" (default = false), "disableStitch": "" (default = false), "privacyOption": "" (default = "PUBLIC_TO_EVERYONE"), "commercialContentThirdParty": "" (default = false), "commercialContentOwnBrand": "" (default = false), "title": "", "autoAddMusic": "" (default = false), "photoCoverIndex": "" (default = 0)}, Tiktok privacyOption can be "PUBLIC_TO_EVERYONE", "MUTUAL_FOLLOW_FRIENDS", "FOLLOWER_OF_CREATOR" or "SELF_ONLY". "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_scheduled_posts | Get the list of scheduled posts for a specific Metricool brand (blog_id). Only retrieves posts that are scheduled (not yet published). If the user doesn't provide a blog_id, ask for it. Args: blog_id: Blog id of the Metricool brand account. start: Start date of the period to get the data. The format is YYYY-MM-DD end: End date of the period to get the data. The format is YYYY-MM-DD timezone: Timezone of the post. The format is "Europe%2FMadrid". Use the timezone of the user extracted from the get_brands tool. extendedRange: When it's true, search date range is expanded one day after and one day before. Default value is false. |
get_best_time_to_post | 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 YYYY-MM-DD end: End date of the period to get the data. The format is YYYY-MM-DD 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 | 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. Posts must include an image or a carousel, Reels must include a video, and Stories can include either an image or a 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 post 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. If the post is Bluesky, make sure the text does not exceed 300 characters. If the content exceeds that limit, do not retry and return an error informing the user: "Error: The text exceeds the 300-character limit allowed on Bluesky. Please edit it." If the post is for X (formerly Twitter), make sure before posting that the text does not exceed 280 characters. You must NOT split the message into multiple tweets or threads, the message must be evaluated strictly against a 280-character limit. If the text exceeds 280 characters, do not retry and return only the following error message and stop processing: The date can't be in the past. Args: date: Date and time to publish the post. The format is YYYY-MM-DDT00: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. 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": uuid: uuid of the post to update. Get it from the get_scheduled_posts tool previous on the conversation. The format is "uuid":"" autoPublish: True or False, default is True. descendants: list with the args of the other posts if it is a thread with the format [args of the second post, args of the third post,... ], default is empty list if there is no thread. 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":""}]. 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": {"type":"", "title":"", "boost":, "boostPayer":"", "boostBeneficiary":""}, Facebook type can be "POST", "REEL" or "STORY" Facebook title is only available for Facebook videos (This is separate from the main text of the post). Facebook boost, boostPayer, and boostBeneficiary are only included if they are promoted posts. "instagramData": {"type": "" (default = POST), "collaborators":[{username: "string", deleted: false}]], "showReelOnFeed": "" (default = true), "boost":, "boostPayer":"", "boostBeneficiary":""}, Instagram type can be "POST", "REEL" or "STORY". "linkedinData": {"documentTitle": "", "publishImagesAsPDF": "" (default = false), "previewIncluded": "" (default = true), "type": "" (default = post), "poll": {"question": "", "options": [{"text": ""}, {"text": ""}], "settings": {"duration": ""}}}, Linkedin type can be "post" or "poll". If there is a documentTitle in Linkedin, publishImagesAsPDF must be true. Linkedin poll duration can be "ONE_DAY", "THREE_DAYS", "SEVEN_DAYS " or "FOURTEEN_DAYS ". "pinterestData": {"boardId":"", "pinTitle":"","pinLink":"", "pinNewFormat":""}, "youtubeData": {"title": "", "type": "" (default = video), "privacy": "" (default = public), "tags": [ "", "" ], "category": "" (optional field), "madeForKids": ""}, Youtube type can be "video" or "short" and privacy can be "public", "unlisted" or "private". Youtube category can be FILM_ANIMATION, AUTOS_VEHICLES, MUSIC, PETS_ANIMALS, SPORTS, TRAVEL_EVENTS, GAMING, PEOPLE_BLOGS, COMEDY, ENTERTAINMENT, NEWS_POLITICS, HOWTO_STYLE, EDUCATION, SCIENCE_TECHNOLOGY, NONPROFITS_ACTIVISM. "twitchData": {"autoPublish":"", "tags":[]}, "tiktokData": {"disableComment": "" (default = false), "disableDuet": "" (default = false), "disableStitch": "" (default = false), "privacyOption": "" (default = "PUBLIC_TO_EVERYONE"), "commercialContentThirdParty": "" (default = false), "commercialContentOwnBrand": "" (default = false), "title": "", "autoAddMusic": "" (default = false), "photoCoverIndex": "" (default = 0)}, Tiktok privacyOption can be "PUBLIC_TO_EVERYONE", "MUTUAL_FOLLOW_FRIENDS", "FOLLOWER_OF_CREATOR" or "SELF_ONLY". "blueskyData": {"postLanguages":["",""]}, "threadsData":{"allowedCountryCodes:["",""]} |
get_metrics | Retrieve the available metrics for a specific network. Args: network: Specific network to get the available metrics. |
get_analytics | Retrieve analytics data for a specific Metricool brand. If the user does not specify any metric you can use the get_metrics tool and let the user decide them. Args: - blog_id (int): ID of the Metricool brand account. Required. - start (str): Start date of the data period (format: YYYY-MM-DD). Required. - end (str): End date of the data period (format: YYYY-MM-DD). Required. - timezone (str): Timezone from the brand(e.g., Europe%2FMadrid). Required. If you don't have the timezone you can obtain it from the get_brands tool - network (str): Social network to analyze (e.g., facebook, instagram, linkedin, youtube, tiktok, etc.), it must be connected to the brand. Required. - metric ([str]): List of metrics, default is empty. If blog_id is missing, ask the user to provide it. If network is missing, ask the user to specify one. If network is not connected to the brand, ask the user to specify one of the connected ones. |