{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.firmledger.co.ke",
    "site": "firmledger.co.ke",
    "addresses": [
      {
        "address": "54.242.115.158",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "54.240.0.0/12",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "54.242.115.158"
        ],
        "first_seen": "2026-11-21T18:18:01.464Z",
        "last_seen": "2026-11-23T21:54:03.587Z",
        "checks": 3
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx/1.28.3 (Ubuntu)\""
      }
    ],
    "server_info": {
      "name": "firmledger",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx/1.28.3 (Ubuntu)",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ke.co.firmledger",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "43433",
    "server_name": "ke.co.firmledger/firmledger",
    "url": "https://mcp.firmledger.co.ke/mcp",
    "host": "mcp.firmledger.co.ke",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T21:54:03.587Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "d5a2b1ae96afa81682e11b61735ae703f74801ed1c3610131126c464e18bc179",
    "first_listed_at": "2026-11-21T18:18:01.464Z",
    "created_at": "2026-11-21T12:45:17.524Z",
    "resolved_addresses": [
      "54.242.115.158"
    ]
  },
  "server": {
    "name": "ke.co.firmledger/firmledger",
    "title": "FirmLedger",
    "description": "FirmLedger: search and verify businesses. Free needs no key; Pro adds contacts, news, jobs.",
    "version": "1.0.2",
    "registry_status": "active",
    "repository_url": null,
    "website_url": null,
    "published_at": "2026-09-28T15:27:09.880Z",
    "updated_at": "2026-09-28T15:27:09.880Z",
    "first_seen": "2026-11-21T12:45:16.861Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:58:13.579Z"
  },
  "operator": {
    "key": "firmledger.co.ke",
    "name": "firmledger.co.ke",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 213,
    "first_check_in_window": "2026-11-21T18:18:01.464Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "d5a2b1ae96afa81682e11b61735ae703f74801ed1c3610131126c464e18bc179",
    "tools": 51,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T18:18:01.662Z",
    "tool_names": [
      "search_listings",
      "get_listing",
      "get_relationships",
      "get_news",
      "list_jobs",
      "check_domain",
      "list_categories",
      "list_countries",
      "prepare_listing_submission",
      "compare_listings",
      "list_plans",
      "list_ad_packages",
      "prepare_upgrade",
      "prepare_advertising",
      "get_my_listings",
      "get_analytics",
      "list_leads",
      "get_lead",
      "get_watchlist",
      "export_watchlist_csv",
      "get_notifications",
      "list_my_tickets",
      "get_api_status",
      "list_webhooks",
      "list_api_keys",
      "start_lead",
      "reply_to_lead",
      "set_lead_status",
      "watchlist_add",
      "watchlist_remove",
      "create_support_ticket",
      "manage_job",
      "post_job",
      "mark_notifications_read",
      "refresh_listing_scores",
      "refresh_listing_tech",
      "refresh_listing_news",
      "request_listing_removal",
      "prepare_listing_claim",
      "create_webhook",
      "reply_to_ticket",
      "manage_webhooks",
      "manage_api_keys",
      "get_my_revenue",
      "manage_my_revenue",
      "update_my_listing",
      "manage_lead",
      "connection_status",
      "get_connection_status",
      "request_authentication",
      "revoke_connection"
    ],
    "declared": {
      "tools": [
        {
          "name": "search_listings",
          "title": "Search FirmLedger listings",
          "description": "Search approved FirmLedger company records by name or keyword, category, country, city and verified status. Returns a short list (name, category, location, verified flag, tick, confidence score, one-line description) plus the accurate total, for picking the right company before calling get_listing. Use city for places like \"Nairobi\" and country for \"Kenya\".",
          "inputSchema": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string",
                "maxLength": 80,
                "description": "City or region, e.g. \"Nairobi\"."
              },
              "type": {
                "enum": [
                  "company",
                  "startup",
                  "agency",
                  "organization",
                  "product",
                  "service",
                  "publisher"
                ],
                "type": "string",
                "description": "Entity type."
              },
              "limit": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string",
                    "pattern": "^-?[0-9]+$"
                  }
                ],
                "default": 10,
                "description": "Results per page (1-25).. Integer or numeric string, clamped to 1–25."
              },
              "query": {
                "type": "string",
                "maxLength": 100,
                "description": "Company name or keyword (matched against name, tagline, description, tags and city)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string",
                    "pattern": "^-?[0-9]+$"
                  }
                ],
                "default": 0,
                "description": "Results to skip, for paging (use next_offset).. Integer or numeric string, clamped to 0–10000."
              },
              "country": {
                "type": "string",
                "maxLength": 60,
                "description": "Country name, e.g. \"Kenya\"."
              },
              "category": {
                "type": "string",
                "maxLength": 60,
                "description": "Category name, e.g. \"Fintech\". Call list_categories for valid names."
              },
              "verified_only": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  }
                ],
                "description": "Only ownership-verified records (boolean or the string true/false)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search FirmLedger listings",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_listing",
          "title": "Get a FirmLedger company profile",
          "description": "The public FirmLedger profile of one company: description, category, location, verification state (tick, how ownership was proved, when it was last checked), confidence and health scores, sources, recent moderated news headlines, open jobs count, reported revenue and the rolling ten-calendar-year revenue history answer (reported years, explicit gaps, per-year sources and the current/most recent figure with its sources). With FirmLedger Pro it also includes website, email, phone, social links, key people, timeline and technology — the same line the website draws.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get a FirmLedger company profile",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_relationships",
          "title": "Get a company's relationship graph (Pro)",
          "description": "FirmLedger Pro. The recorded relationship graph of one company: founders, investors, parent companies, subsidiaries, products, services and partners — plus the reverse edges (companies it founded or invested in). Only relationships recorded by the verified owner or moderators; nothing is inferred.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get a company's relationship graph (Pro)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_news",
          "title": "Get moderated company news (Pro)",
          "description": "FirmLedger Pro. Recent moderated news headlines about one company with dates, publishers and links — the same accuracy-gated stories shown on the profile's news panel.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "limit": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string",
                    "pattern": "^-?[0-9]+$"
                  }
                ],
                "default": 10,
                "description": "Stories to return (1-12).. Integer or numeric string, clamped to 1–12."
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get moderated company news (Pro)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_jobs",
          "title": "List open jobs (Pro)",
          "description": "FirmLedger Pro. Open roles at approved FirmLedger companies, filtered by company and/or location and keyword: title, company, location, posted date and where to apply. Jobs on unapproved listings never appear.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string",
                    "pattern": "^-?[0-9]+$"
                  }
                ],
                "default": 10,
                "description": "limit. Integer or numeric string, clamped to 1–25."
              },
              "query": {
                "type": "string",
                "maxLength": 80,
                "description": "Optional keyword in the job title or description."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "string",
                    "pattern": "^-?[0-9]+$"
                  }
                ],
                "default": 0,
                "description": "offset. Integer or numeric string, clamped to 0–10000."
              },
              "company": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "Optional company (slug, exact name, FirmLedger ID or profile URL)."
              },
              "location": {
                "type": "string",
                "maxLength": 80,
                "description": "Optional location, e.g. \"Nairobi\" or \"Kenya\" or \"Remote\"."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List open jobs (Pro)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_domain",
          "title": "Check whether a website is listed (Pro)",
          "description": "FirmLedger Pro. Given a website domain or URL, report whether an approved FirmLedger record uses it and return that record — useful for \"is this site legit?\" questions.",
          "inputSchema": {
            "type": "object",
            "required": [
              "domain"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "maxLength": 200,
                "minLength": 3,
                "description": "A domain such as \"example.co.ke\" or a full URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check whether a website is listed (Pro)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_categories",
          "title": "List FirmLedger categories",
          "description": "Every FirmLedger category with its number of approved listings. Use to pick a valid category for search_listings.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List FirmLedger categories",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_countries",
          "title": "List countries on FirmLedger",
          "description": "The countries present in the FirmLedger directory, each with its number of approved listings.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List countries on FirmLedger",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_listing_submission",
          "title": "Prepare a FirmLedger listing submission link",
          "description": "Does NOT create anything. Returns a link to the real FirmLedger submission form with the company name, website and (optional) category, country and city pre-filled. The user opens it, signs in, completes the remaining fields, reviews everything and submits it themselves. Also reports if the company is already listed, so nothing is submitted twice.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "city": {
                "type": "string",
                "maxLength": 80,
                "description": "Optional city."
              },
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 2,
                "description": "Company name."
              },
              "country": {
                "type": "string",
                "maxLength": 60,
                "description": "Optional country."
              },
              "website": {
                "type": "string",
                "maxLength": 200,
                "description": "Company website, e.g. \"example.co.ke\"."
              },
              "category": {
                "type": "string",
                "maxLength": 60,
                "description": "Optional category."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Prepare a FirmLedger listing submission link",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_listings",
          "title": "Compare FirmLedger listings side by side",
          "description": "Compare 2 to 4 approved FirmLedger companies side by side: entity type, category, location, founded, team size, website, tagline, date registered, ownership, tick, confidence and sponsored status — the same rows as the FirmLedger comparison page. Use after search_listings when the user wants to weigh companies against each other.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listings"
            ],
            "properties": {
              "listings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 300,
                  "minLength": 1,
                  "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
                },
                "maxItems": 4,
                "minItems": 2,
                "description": "2 to 4 companies (slugs are best)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Compare FirmLedger listings side by side",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_plans",
          "title": "List FirmLedger Pro plans",
          "description": "The current FirmLedger Pro offers with price, billing and duration. With an API key it also says whether this account is already on Pro and whether a free trial is available. Use before prepare_upgrade.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List FirmLedger Pro plans",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_ad_packages",
          "title": "List FirmLedger advertising packages",
          "description": "The current Sponsored-placement advertising packages with price, billing and duration. With an API key it also lists the user's own listings and which of them can be advertised or are already sponsored. Use before prepare_advertising.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List FirmLedger advertising packages",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_upgrade",
          "title": "Prepare a FirmLedger Pro checkout link",
          "description": "Does NOT charge anything. Returns a personal link to FirmLedger's own checkout for the chosen Pro plan (optionally with a promo code). The user opens it, signs in, reviews the order on FirmLedger and pays on the secure Lemon Squeezy checkout themselves. You can never complete or confirm a payment and must never ask for card details; if the user says \"yes, do it\", give them the link again. Without an API key it returns the pricing page instead.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "plan": {
                "type": "string",
                "maxLength": 120,
                "description": "The plan id from list_plans (or its exact name)."
              },
              "promo_code": {
                "type": "string",
                "maxLength": 40,
                "description": "Optional promo code the user gave you."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Prepare a FirmLedger Pro checkout link",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_advertising",
          "title": "Prepare a FirmLedger advertising checkout link",
          "description": "Does NOT charge anything. Checks that the listing belongs to this account and is approved, then returns a personal link to FirmLedger's own checkout for the chosen Sponsored-placement package. The user reviews and pays there themselves; you can never complete or confirm a payment. If the user says \"yes, do it\", give them the link again.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing",
              "package"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "One of the user's own approved listings (see get_my_listings or list_ad_packages)."
              },
              "package": {
                "type": "string",
                "maxLength": 120,
                "description": "The package id from list_ad_packages (or its exact name)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Prepare a FirmLedger advertising checkout link",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_my_listings",
          "title": "List my FirmLedger listings",
          "description": "The listings this account owns or submitted, with moderation status, tick, scores, Pro perks, sponsorship, jobs and new-lead counts. Use first when the user refers to \"my listing\".",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List my FirmLedger listings",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_analytics",
          "title": "Read my audience analytics",
          "description": "Audience analytics for the user's own listings — views today/7/30 days/total, distinct hashed visitor signals, profile and website clicks, leads, the 30-day funnel (placements served and browser-measured viewable impressions are separate), top locations and per-listing views. The same numbers as Dashboard → Audience analytics.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "Optional: one of the user's listings. Omit for all of them combined."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read my audience analytics",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_leads",
          "title": "List my leads",
          "description": "The user's FirmLedger Leads inbox: inquiries received on their listings (box \"received\", the default), archived ones (\"archived\"), or inquiries they sent to other businesses (\"sent\"). Filter by status or listing; paginated.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "box": {
                "enum": [
                  "received",
                  "archived",
                  "sent"
                ],
                "type": "string"
              },
              "page": {
                "type": "integer",
                "default": 1,
                "minimum": 1
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1
              },
              "status": {
                "enum": [
                  "new",
                  "contacted",
                  "qualified",
                  "won",
                  "lost"
                ],
                "type": "string"
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "Optional: only leads for this listing of the user's."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List my leads",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_lead",
          "title": "Read one lead conversation",
          "description": "One conversation from the Leads inbox with the inquirer's details and every message, oldest first. Use before reply_to_lead so the reply fits the thread.",
          "inputSchema": {
            "type": "object",
            "required": [
              "lead_id"
            ],
            "properties": {
              "lead_id": {
                "type": "integer",
                "minimum": 1,
                "description": "lead_id from list_leads."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read one lead conversation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_watchlist",
          "title": "Read my watchlist",
          "description": "The companies the user watches on FirmLedger, newest first.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read my watchlist",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "export_watchlist_csv",
          "title": "Export my watchlist as CSV",
          "description": "The user's watchlist as CSV text (name, category, type, location, contact details, tech stack, verified owner, confidence, watched since) — the same file as the dashboard's Export button.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "Export my watchlist as CSV",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_notifications",
          "title": "Read my notifications",
          "description": "The user's in-app FirmLedger notifications, newest first, with the unread count. Set unread_only for just the unread ones.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 60,
                "minimum": 1
              },
              "unread_only": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read my notifications",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_my_tickets",
          "title": "Read my support tickets",
          "description": "The user's FirmLedger support tickets. Pass a ticket reference to read that ticket's full conversation.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "ticket": {
                "type": "string",
                "maxLength": 40,
                "description": "Optional ticket reference, e.g. \"TK-1A2B3C\"."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read my support tickets",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_api_status",
          "title": "REST API v1 status for this key",
          "description": "The state of the FirmLedger REST API for this account and API key, as /api/v1/me and /api/v1/usage answer it: identity, plan and free-trial status, the key's scopes, live per-minute read/write budgets, durable usage aggregates and the endpoint catalogue. Also states plainly that the MCP connector and REST API v1 are the same platform API — one account, one key, one Pro entitlement — and exactly what happens to API and MCP access when a free trial ends.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "key_prefix": {
                "type": "string",
                "maxLength": 40,
                "description": "Optional: focus on one key by its prefix."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "REST API v1 status for this key",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_webhooks",
          "title": "List my webhook destinations",
          "description": "The account's webhook destinations with events, category filters, active state and signing-secret prefix — plus recent deliveries (status, HTTP code, attempts, last error) when a webhook id is given.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 25,
                "minimum": 1
              },
              "webhook_id": {
                "type": "integer",
                "minimum": 1,
                "description": "Optional: one destination, with its recent deliveries."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List my webhook destinations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_api_keys",
          "title": "List my API keys",
          "description": "The account's API keys with label, prefix, scopes, usage totals and last use — never a raw key. Use it to name a key before revoking or re-scoping it.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "List my API keys",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "start_lead",
          "title": "Contact a claimed business",
          "description": "Start a new FirmLedger Leads conversation with another approved, claimed business. The signed-in member email is used automatically, the business email stays private, and the owner is notified in their Leads inbox. Requires the user’s confirmation of the exact inquiry.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing",
              "message"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "description": "Optional sender name; defaults to the member profile name."
              },
              "phone": {
                "type": "string",
                "maxLength": 40
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              },
              "message": {
                "type": "string",
                "maxLength": 4000,
                "minLength": 10
              },
              "looking_for": {
                "type": "string",
                "maxLength": 140,
                "description": "Optional short subject or what the member needs."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Contact a claimed business",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "reply_to_lead",
          "title": "Reply to a lead",
          "description": "Send a reply in one of the user's lead conversations, exactly as the Reply box on the website does (the other party is notified). Requires the user's confirmation: the first call returns the exact message for them to approve.",
          "inputSchema": {
            "type": "object",
            "required": [
              "lead_id",
              "message"
            ],
            "properties": {
              "lead_id": {
                "type": "integer",
                "minimum": 1
              },
              "message": {
                "type": "string",
                "maxLength": 4000,
                "minLength": 2,
                "description": "The reply text, written or approved by the user."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Reply to a lead",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "set_lead_status",
          "title": "Change a lead's status",
          "description": "Move a lead in the user's business inbox to new, contacted, qualified, won or lost. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "lead_id",
              "status"
            ],
            "properties": {
              "status": {
                "enum": [
                  "new",
                  "contacted",
                  "qualified",
                  "won",
                  "lost"
                ],
                "type": "string"
              },
              "lead_id": {
                "type": "integer",
                "minimum": 1
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Change a lead's status",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "watchlist_add",
          "title": "Add a company to my watchlist",
          "description": "Add an approved company to the user's watchlist so they are notified when its record changes. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Add a company to my watchlist",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watchlist_remove",
          "title": "Remove a company from my watchlist",
          "description": "Remove a company from the user's watchlist. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Remove a company from my watchlist",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "create_support_ticket",
          "title": "Open a support ticket",
          "description": "Open a FirmLedger support ticket for the user. Categories: billing, technical, listing, account, verification, other. Requires the user's confirmation of the exact subject and message.",
          "inputSchema": {
            "type": "object",
            "required": [
              "subject",
              "category",
              "body"
            ],
            "properties": {
              "body": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 20,
                "description": "The issue in a few sentences."
              },
              "subject": {
                "type": "string",
                "maxLength": 200,
                "minLength": 4
              },
              "category": {
                "enum": [
                  "billing",
                  "technical",
                  "listing",
                  "account",
                  "verification",
                  "other"
                ],
                "type": "string"
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Open a support ticket",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "manage_job",
          "title": "Edit, close or remove my job",
          "description": "Manage a job owned by the member: edit its title, type, location, apply link or description, close it, or permanently remove it. Editing a live or closed role returns it to moderation before it is public again. Requires the user’s confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "action",
              "job_id"
            ],
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 80
              },
              "action": {
                "enum": [
                  "edit",
                  "close",
                  "remove",
                  "delete"
                ],
                "type": "string"
              },
              "job_id": {
                "type": "integer",
                "minimum": 1
              },
              "location": {
                "type": "string",
                "maxLength": 80
              },
              "apply_url": {
                "type": "string",
                "maxLength": 400
              },
              "role_type": {
                "enum": [
                  "Full-time",
                  "Part-time",
                  "Contract",
                  "Internship",
                  "Remote"
                ],
                "type": "string"
              },
              "description": {
                "type": "string",
                "maxLength": 600
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Edit, close or remove my job",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "post_job",
          "title": "Post a job on my listing",
          "description": "Submit a job opening on one of the user's listings (the listing needs active Pro perks; up to 5 open or pending roles). Like the dashboard form, it goes to moderation first and is published after approval. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing",
              "title",
              "location",
              "apply_url",
              "description"
            ],
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 80,
                "minLength": 3
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "One of the user's own listings."
              },
              "location": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1,
                "description": "City, or \"Remote\"."
              },
              "apply_url": {
                "type": "string",
                "maxLength": 400,
                "description": "Full https:// link to the job post or careers page."
              },
              "role_type": {
                "enum": [
                  "Full-time",
                  "Part-time",
                  "Contract",
                  "Internship",
                  "Remote"
                ],
                "type": "string"
              },
              "description": {
                "type": "string",
                "maxLength": 600,
                "minLength": 30
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Post a job on my listing",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "mark_notifications_read",
          "title": "Mark notifications as read",
          "description": "Mark one notification (notification_id) or all of them (all: true) as read. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "all": {
                "type": "boolean"
              },
              "notification_id": {
                "type": "integer",
                "minimum": 1
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Mark notifications as read",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "refresh_listing_scores",
          "title": "Refresh my listing's scores",
          "description": "Recompute the confidence, health and completeness scores of one of the user's listings from its current record — the dashboard's \"Re-align scores\". Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "One of the user's own listings."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Refresh my listing's scores",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "refresh_listing_tech",
          "title": "Refresh my listing's technology snapshot",
          "description": "Scan the website of one of the user's listings and refresh its technology snapshot — the dashboard's \"Refresh tech\". Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "One of the user's own listings."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Refresh my listing's technology snapshot",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "refresh_listing_news",
          "title": "Refresh my listing's news",
          "description": "Look for new coverage of one of the user's approved listings with the same accuracy rules and moderation as the dashboard's \"Refresh news\" (once a minute per listing). Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "One of the user's own approved listings."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Refresh my listing's news",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "request_listing_removal",
          "title": "Request removal of my listing",
          "description": "Send a removal request for a listing the user owns or originally submitted. A moderator reviews it; nothing is removed until they accept. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing",
              "reason"
            ],
            "properties": {
              "reason": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 20,
                "description": "Why it should be removed (20+ characters)."
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "A listing the user owns or submitted."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Request removal of my listing",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "prepare_listing_claim",
          "title": "Prepare a listing ownership claim",
          "description": "Free. Prepare a link to claim an approved listing using DNS TXT, HTML meta tag or site badge. Creates nothing and never grants ownership. The user signs in, generates a token, installs the proof on the business domain and verifies it on FirmLedger.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "method": {
                "enum": [
                  "dns",
                  "meta",
                  "badge"
                ],
                "type": "string"
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Prepare a listing ownership claim",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_webhook",
          "title": "Create a webhook destination",
          "description": "Register a webhook on the user’s account after explicit confirmation. Listing events will be sent to this URL. Requires Pro (including a free trial) and write:account. The signing secret is returned only once; keep it private.",
          "inputSchema": {
            "type": "object",
            "required": [
              "url",
              "events"
            ],
            "properties": {
              "url": {
                "type": "string",
                "maxLength": 500,
                "description": "Public HTTPS destination for signed events."
              },
              "label": {
                "type": "string",
                "maxLength": 80
              },
              "events": {
                "type": "array",
                "items": {
                  "enum": [
                    "listing.approved",
                    "listing.rejected",
                    "listing.updated",
                    "listing.created",
                    "listing.deleted",
                    "claim.verified",
                    "claim.lapsed"
                  ],
                  "type": "string"
                },
                "maxItems": 6,
                "minItems": 1
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 80
                },
                "maxItems": 50
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Create a webhook destination",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "reply_to_ticket",
          "title": "Reply to an open support ticket",
          "description": "Send a reply in one of the user's own support tickets — the same thread the dashboard shows, and the same message an agent answers. Closed tickets cannot take replies. Requires the user's confirmation of the exact text.",
          "inputSchema": {
            "type": "object",
            "required": [
              "ticket",
              "message"
            ],
            "properties": {
              "ticket": {
                "type": "string",
                "maxLength": 40,
                "minLength": 1,
                "description": "The ticket reference (e.g. TK-1A2B3C) or its id, from list_my_tickets."
              },
              "message": {
                "type": "string",
                "maxLength": 4000,
                "minLength": 2,
                "description": "The reply text, written or approved by the user."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Reply to an open support ticket",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "manage_webhooks",
          "title": "Manage my webhook destinations",
          "description": "Create, update, pause, resume, rotate the signing secret of, test, retry a delivery for, or delete a webhook destination on the user's account — the same operations as Dashboard → Developer API. Secrets come back only for create and rotate. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "action"
            ],
            "properties": {
              "url": {
                "type": "string",
                "maxLength": 500,
                "description": "create/update: the receiver URL (https in production)."
              },
              "label": {
                "type": "string",
                "maxLength": 80
              },
              "action": {
                "enum": [
                  "create",
                  "update",
                  "pause",
                  "resume",
                  "rotate_secret",
                  "test",
                  "retry_delivery",
                  "delete"
                ],
                "type": "string"
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 6,
                "description": "create/update: event types to subscribe to."
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 80
                },
                "maxItems": 50
              },
              "webhook_id": {
                "type": "integer",
                "minimum": 1,
                "description": "Required for every action except create."
              },
              "delivery_id": {
                "type": "integer",
                "minimum": 1,
                "description": "retry_delivery: which delivery to retry."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Manage my webhook destinations",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "manage_api_keys",
          "title": "Manage my API keys",
          "description": "Create an API key (the raw key is returned once), revoke a key, or change a key's scopes — the dashboard's Developer API controls. Requires the user's confirmation. Keys can also carry the AI-assistant scopes (read:account / write:account) that this connector uses.",
          "inputSchema": {
            "type": "object",
            "required": [
              "action"
            ],
            "properties": {
              "label": {
                "type": "string",
                "maxLength": 60,
                "description": "create: a name for the key."
              },
              "action": {
                "enum": [
                  "create",
                  "revoke",
                  "update_scopes"
                ],
                "type": "string"
              },
              "key_id": {
                "type": "integer",
                "minimum": 1,
                "description": "revoke/update_scopes: the key id from list_api_keys."
              },
              "scopes": {
                "type": "array",
                "items": {
                  "enum": [
                    "read:listings",
                    "write:listings",
                    "export",
                    "manage:webhooks",
                    "read:usage",
                    "read:account",
                    "write:account"
                  ],
                  "type": "string"
                },
                "maxItems": 9,
                "minItems": 1,
                "description": "Scope ids. Required for update_scopes; create defaults to the standard scopes.",
                "uniqueItems": true
              },
              "key_prefix": {
                "type": "string",
                "maxLength": 40,
                "description": "Optional alternative to key_id."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Manage my API keys",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_my_revenue",
          "title": "View my revenue submissions",
          "description": "List published and pending revenue records for a listing you own, including moderation status and sources. Also returns the standard ten-year revenue history answer: reported years, gaps, per-year source URLs, and the figure/period/sources shown on the profile when no in-window history exists.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "View my revenue submissions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "manage_my_revenue",
          "title": "Submit a revenue change for moderation",
          "description": "Add reported revenue, edit an approved owner record with target_id, or request deletion. All changes require explicit confirmation and moderation; never immediately changes published revenue. Sources are public HTTPS URLs separated by newlines.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing",
              "action"
            ],
            "properties": {
              "action": {
                "enum": [
                  "save",
                  "delete"
                ],
                "type": "string"
              },
              "amount": {
                "type": "string",
                "maxLength": 32
              },
              "period": {
                "type": "string",
                "maxLength": 10
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              },
              "sources": {
                "type": "string",
                "maxLength": 5000
              },
              "currency": {
                "type": "string",
                "maxLength": 3
              },
              "target_id": {
                "type": "integer",
                "minimum": 1
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Submit a revenue change for moderation",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "update_my_listing",
          "title": "Edit one of my listings",
          "description": "Change fields on a listing the user owns (name, tagline, description, website, email, phone, country, city, region, address, logo_url, founded, size, tags, socials) — the same service the dashboard edit form and PUT /api/v1/my/listings/:id use, including the re-moderation rule when the core record changes. Requires the user's confirmation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "listing"
            ],
            "properties": {
              "city": {
                "type": "string",
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "maxLength": 120
              },
              "size": {
                "type": "string",
                "maxLength": 40
              },
              "tags": {
                "type": "string",
                "maxLength": 300
              },
              "email": {
                "type": "string",
                "maxLength": 190
              },
              "phone": {
                "type": "string",
                "maxLength": 40
              },
              "region": {
                "type": "string",
                "maxLength": 80
              },
              "address": {
                "type": "string",
                "maxLength": 200
              },
              "country": {
                "type": "string",
                "maxLength": 80
              },
              "founded": {
                "type": "string",
                "maxLength": 12
              },
              "listing": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "The company: its FirmLedger slug (best — returned by search_listings), its exact name, its FirmLedger ID such as \"FL-00012\", or its FirmLedger profile URL."
              },
              "socials": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "x": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "youtube": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "facebook": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "linkedin": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "instagram": {
                        "type": "string",
                        "maxLength": 500
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "string",
                    "maxLength": 800
                  }
                ],
                "description": "Social profile links keyed by network; use an empty object to clear. A JSON object string is also accepted."
              },
              "tagline": {
                "type": "string",
                "maxLength": 160
              },
              "website": {
                "type": "string",
                "maxLength": 300
              },
              "logo_url": {
                "type": "string",
                "maxLength": 500
              },
              "description": {
                "type": "string",
                "maxLength": 4000
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Edit one of my listings",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "manage_lead",
          "title": "Archive, restore or delete a lead conversation",
          "description": "Archive a conversation out of the business inbox, restore it, or delete it permanently — the dashboard's conversation controls. Requires the user's confirmation (deleting is irreversible).",
          "inputSchema": {
            "type": "object",
            "required": [
              "action",
              "lead_id"
            ],
            "properties": {
              "action": {
                "enum": [
                  "archive",
                  "unarchive",
                  "delete"
                ],
                "type": "string"
              },
              "lead_id": {
                "type": "integer",
                "minimum": 1,
                "description": "The lead id from list_leads."
              },
              "confirmation_token": {
                "type": "string",
                "maxLength": 2048,
                "description": "Leave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Archive, restore or delete a lead conversation",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "connection_status",
          "title": "Check FirmLedger connection access",
          "description": "Report what this FirmLedger connection can do: Free or Pro access, authentication and active free-trial status, and which tools and fields are available. Use when the user asks why something is locked.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check FirmLedger connection access",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_connection_status",
          "title": "Get FirmLedger connection status",
          "description": "Report how this assistant is connected to FirmLedger: public (no sign-in), an API key, or the member's account through sign-in (OAuth). Shows Free or Pro, the trial status, which tools and fields are available, and whether the sign-in token is about to expire. Use it when the member asks whether they are connected or signed in, or why something is locked.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get FirmLedger connection status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "request_authentication",
          "title": "Connect or renew the FirmLedger account",
          "description": "Connect this assistant to the member's own FirmLedger account by sign-in (OAuth), or renew or replace that connection. Call it when the member says \"connect me to my account\", \"sign me in\", or asks to switch accounts. The assistant opens FirmLedger in the browser, the member approves there, and no password or key passes through the chat. mode \"connect\" (the default) starts sign-in when the connection needs it. mode \"reauthenticate\" ends the current connection so the member can choose the account again. mode \"refresh\" renews a sign-in token that is about to expire, and the assistant should then retry.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "mode": {
                "enum": [
                  "connect",
                  "reauthenticate",
                  "refresh"
                ],
                "type": "string",
                "description": "connect (default): sign in if needed. reauthenticate: end this connection so the member can choose the account again. refresh: renew a token that is about to expire."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Connect or renew the FirmLedger account",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "revoke_connection",
          "title": "Remove the FirmLedger account connection",
          "description": "Disconnect this assistant from the member's FirmLedger account. The sign-in is revoked on FirmLedger's side at once, and every token it issued stops working. Call it when the member asks to remove, sign out or disconnect their account. It cannot erase the token stored in the member's assistant app, so tell the member to remove the FirmLedger connector there as well.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "title": "Remove the FirmLedger account connection",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "FirmLedger is a moderated, source-backed directory of companies (strong coverage of Kenya and East Africa) with ownership verification ticks and confidence scores. Use these tools whenever the user asks whether a company is legitimate or verified, asks for companies in a category or place, or asks about a company's services, verification, news or jobs. Ground every statement in what the tools return. If a tool reports not_found, tell the user FirmLedger has no record of that company — never describe it as if FirmLedger had verified it, and never fill gaps from memory. \"verified\" means the owner proved control of the business domain (DNS, meta tag or badge). Ticks: blue = Pro plan + verified owner, green = verified owner on Free, gold = Pro plan, ownership not yet claimed. Directory tools never change anything. To add a company, call prepare_listing_submission and give the user the returned link — the user completes and submits the form themselves. Account tools act on the member's own FirmLedger account and need a Pro connection (sign-in or API key) with the account permissions. A tool that changes something first answers status \"confirmation_required\" with an action_summary: show that summary to the user, ask them to confirm, and only after they clearly say yes call the same tool again with exactly the same arguments plus the confirmation_token. Never confirm on the user's behalf, never reuse a token for a different action, and if the user changes anything, call again without a token to get a new summary. Use get_connection_status to see how this connection is signed in, whether it is Free or Pro, the trial status and whether the sign-in token is about to expire. Without sign-in you cannot identify the member or their trial. When the member asks to connect their account, or an account tool says sign-in is needed, call request_authentication. Never ask the member for a password, API key or token in the chat. To remove or replace a connection, call revoke_connection or request_authentication with mode reauthenticate; revoke_connection cannot clear the token stored in the member's assistant app, so tell them to remove the connection there as well. prepare_listing_claim guides DNS, meta tag or badge verification but never proves ownership itself. create_webhook needs explicit confirmation and sends listing events to the chosen destination. Payments: prepare_upgrade and prepare_advertising only return a checkout link. You cannot charge, pay, or confirm a purchase, and you never ask for card details. Give the user the link; if they say \"yes, do it\", give them the link again and explain they complete the payment on FirmLedger's secure checkout themselves. Never say a purchase is complete. MCP and the REST API v1 are the same platform API: one FirmLedger account, one API key, one Pro entitlement, one set of scopes and rate limits. The REST API is for code (endpoints under /api/v1); this MCP connector is the assistant-shaped face of it (search, compare, leads, tickets, webhooks, listings). get_api_status reports the REST side for the current key — live budgets, usage and which endpoints exist — and states what access continues or stops when a free trial ends. Leads: start_lead opens a new inquiry only with another approved, claimed business, using the signed-in member email and keeping the business email private; reply_to_lead continues an existing thread. Tickets: list_my_tickets reads the user's own support tickets and their conversations; reply_to_ticket answers inside one (closed tickets refuse). Webhooks and API keys are managed with manage_webhooks and manage_api_keys; a listing the user owns is edited with update_my_listing; jobs are posted with post_job and edited, closed or removed with manage_job; lead conversations can be archived, restored or deleted with manage_lead. Every one of those asks for confirmation first. Revenue questions: call get_listing and use revenue_history.answer, revenue_history.years and revenue_history"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}