Skip to main content
Glama

Follow a market

follow_market
DestructiveIdempotent

Follow a market for this account. Check canFollow in get_usage first. Replacing a followed market is allowed once every 30 days: ask the user, then call with confirmReplacement true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketYesMarket slug from list_markets, for example bitcoin
confirmReplacementNoSet true only after the user agreed to replace a market they already follow

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
usageYes
dataUseYesUse restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model.
noticesYes
followingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "IntegrationFollowing": {
      +      "additionalProperties": false,
      +      "description": "What the account follows and can still follow. Following decides which markets can be read; it happens in the Kunkafa app.",
      +      "properties": {
      +        "canFollow": {
      +          "description": "Whether this connection may follow and unfollow markets.",
      +          "type": "boolean"
      +        },
      +        "canFollowMore": {
      +          "description": "How many more markets can be followed; null when the account reads every market.",
      +          "minimum": 0,
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "followInApp": {
      +          "description": "Where the user follows markets in the Kunkafa app.",
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "followLimit": {
      +          "description": "The plan's Following count; null when the account reads every market.",
      +          "minimum": 0,
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "followed": {
      +          "description": "Markets on the account's following list, as the app counts them.",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "howToAllowFollowing": {
      +          "description": "Present when canFollow is false.",
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Plain explanation for the user, including for accounts that read every market.",
      +          "type": "string"
      +        },
      +        "otherMarkets": {
      +          "description": "Catalogue markets the account does not follow, by English name, sorted by name; at most 100 (otherMarketsTotal gives the full count). Any market can still be followed by its slug.",
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "market": {
      +                "$ref": "#/$defs/IntegrationMarketSlug"
      +              },
      +              "name": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "market",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 100,
      +          "type": "array"
      +        },
      +        "otherMarketsTotal": {
      +          "description": "How many catalogue markets the account does not follow.",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "readsEveryMarket": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "followed",
      +        "followLimit",
      +        "canFollowMore",
      +        "readsEveryMarket",
      +        "message",
      +        "followInApp",
      +        "otherMarkets",
      +        "otherMarketsTotal"
      +      ],
      +      "type": "object"
      +    },
      +    "IntegrationFollowingChange": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "action": {
      +          "enum": [
      +            "followed",
      +            "unfollowed",
      +            "unchanged"
      +          ]
      +        },
      +        "market": {
      +          "$ref": "#/$defs/IntegrationMarketSlug"
      +        },
      +        "nextChangeAllowedAt": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/IntegrationTimestamp"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "When a followed market may next be replaced; null while no replacement window runs."
      +        }
      +      },
      +      "required": [
      +        "market",
      +        "action",
      +        "nextChangeAllowedAt"
      +      ],
      +      "type": "object"
      +    },
      +    "IntegrationMarketSlug": {
      +      "description": "Published English-name market slug returned by authorized discovery.",
      +      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      +      "type": "string"
      +    },
      +    "IntegrationNotice": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "enum": [
      +            "approaching_limit",
      +            "limit_reached"
      +          ]
      +        },
      +        "limit": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "nextCapacityAt": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/IntegrationTimestamp"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "period": {
      +          "enum": [
      +            "day",
      +            "week",
      +            "month"
      +          ]
      +        },
      +        "remaining": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "used": {
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "period",
      +        "kind",
      +        "message",
      +        "used",
      +        "limit",
      +        "remaining",
      +        "nextCapacityAt"
      +      ],
      +      "type": "object"
      +    },
      +    "IntegrationTimestamp": {
      +      "description": "ISO 8601 UTC timestamp supplied by Kunkafa.",
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "IntegrationUsage": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "adjustment": {
      +          "additionalProperties": false,
      +          "description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan.",
      +          "properties": {
      +            "expiresAt": {
      +              "format": "date-time",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "expiresAt"
      +          ],
      +          "type": "object"
      +        },
      +        "calculatedAt": {
      +          "$ref": "#/$defs/IntegrationTimestamp"
      +        },
      +        "concurrency": {
      +          "additionalProperties": false,
      +          "description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
      +          "properties": {
      +            "limit": {
      +              "maximum": 100,
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "nextRequestAt": {
      +              "anyOf": [
      +                {
      +                  "$ref": "#/$defs/IntegrationTimestamp"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "remaining": {
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "limit",
      +            "remaining",
      +            "nextRequestAt"
      +          ],
      +          "type": "object"
      +        },
      +        "requests": {
      +          "additionalProperties": false,
      +          "description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection.",
      +          "properties": {
      +            "burst": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "nextRequestAt": {
      +              "anyOf": [
      +                {
      +                  "$ref": "#/$defs/IntegrationTimestamp"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "perMinute": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "remaining": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "perMinute",
      +            "burst",
      +            "remaining",
      +            "nextRequestAt"
      +          ],
      +          "type": "object"
      +        },
      +        "tier": {
      +          "enum": [
      +            "free",
      +            "starter",
      +            "core",
      +            "pro",
      +            "publisher"
      +          ]
      +        },
      +        "windows": {
      +          "items": {
      +            "$ref": "#/$defs/IntegrationWindowUsage"
      +          },
      +          "maxItems": 3,
      +          "minItems": 3,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "calculatedAt",
      +        "tier",
      +        "requests",
      +        "concurrency",
      +        "windows"
      +      ],
      +      "type": "object"
      +    },
      +    "IntegrationWindowUsage": {
      +      "additionalProperties": false,
      +      "description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative.",
      +      "properties": {
      +        "limit": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "nextCapacityAt": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/IntegrationTimestamp"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "notice": {
      +          "enum": [
      +            "approaching_limit",
      +            "limit_reached",
      +            null
      +          ]
      +        },
      +        "noticeId": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "period": {
      +          "enum": [
      +            "day",
      +            "week",
      +            "month"
      +          ]
      +        },
      +        "remaining": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "used": {
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "period",
      +        "used",
      +        "limit",
      +        "remaining",
      +        "nextCapacityAt",
      +        "notice",
      +        "noticeId"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "description": "The change and the account's following after it. The Kunkafa app shows the same list immediately.",
      +  "properties": {
      +    "data": {
      +      "$ref": "#/$defs/IntegrationFollowingChange"
      +    },
      +    "dataUse": {
      +      "description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model.",
      +      "type": "string"
      +    },
      +    "following": {
      +      "$ref": "#/$defs/IntegrationFollowing"
      +    },
      +    "notices": {
      +      "items": {
      +        "$ref": "#/$defs/IntegrationNotice"
      +      },
      +      "maxItems": 3,
      +      "type": "array"
      +    },
      +    "usage": {
      +      "$ref": "#/$defs/IntegrationUsage"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "following",
      +    "usage",
      +    "notices",
      +    "dataUse"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true. The description adds the critical behavioral context that replacement is allowed only once every 30 days and requires user confirmation via confirmReplacement. It does not elaborate on what 'replacement' destroys, but the rate limit and confirmation requirement go beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then prerequisites, then the edge-case workflow. No waste.

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?

Covers the core action, prerequisite check, and the replacement edge case. With an output schema present, return values need not be explained. Minor gap: does not state what happens on success or how follow relates to unfollow_market, but sufficient for correct invocation.

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 coverage is 100%, so both parameters are fully documented in the schema. The description reinforces the confirmReplacement semantics ('ask the user, then call with confirmReplacement true') but adds no new format or constraint detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb+resource: 'Follow a market for this account.' Distinguishes from unfollow_market by name. Does not explicitly contrast with siblings like list_markets, but the action is unambiguous.

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

Usage Guidelines5/5

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

Explicitly says to check canFollow in get_usage first, names the alternative workflow, and states the 30-day rule with the required user confirmation step. This is exactly the kind of conditional routing an agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.