Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website: https://datacircle.dev
This Go module gives Microsoft Agent Framework for Go agents four function tools on Datacircle's open API, https://api.datacircle.dev/v1. You need no key and no account.
| Tool |
What the tool gives |
Call |
datacircle_list_apis |
Every GTM API on Datacircle, with the API's slug, number of plans, number of providers and best plan |
GET /apis |
datacircle_best_plans |
One API's plans, sorted by score out of 100, best first. Each plan comes with a rank and a price per 1,000 calls |
GET /apis/{slug}/best |
datacircle_search_plans |
Plans that match a provider or plan name, on all APIs or on one API. Sort by score, provider or price |
GET /plans |
datacircle_provider |
The APIs a provider sells, and the provider's rank on each API |
GET /providers/{slug} |
Install
go get github.com/waynehamadi/agent-framework-go-datacircle
It needs Microsoft Agent Framework for Go v0.1.0 or later, and Go 1.26.
import datacircle "github.com/waynehamadi/agent-framework-go-datacircle"
a := openaiprovider.NewChatCompletionsAgent(openai.NewClient(), openaiprovider.AgentConfig{
Model: "gpt-5",
Instructions: "You help choose GTM APIs.",
Config: agent.Config{Tools: datacircle.NewTools(nil)},
})
resp, err := a.RunText(ctx, "Find the 3 best providers for the email-finder API.").Collect()
Every provider takes the tools the same way, in its agent.Config. To give them on one run only, pass each one with agent.WithTool.
Each tool has its own constructor: NewListAPIsTool, NewBestPlansTool, NewSearchPlansTool and NewProviderTool. Give a model only the ones it needs. Each one is a tool.FuncTool, so you can also call it yourself, or serve it on an MCP server with mcptool.AddTool:
res, err := datacircle.NewBestPlansTool(nil).Call(ctx, `{"slug":"email-finder","limit":3}`)
Each tool gives back a JSON object. Each plan comes with its rank, provider, plan, score, price per 1,000 (perThousand, in dollars) and its page on datacircle.dev. That page lists every field. A tool also takes a plain string as its first field, like an API's slug.
When the API gives no data, like for a slug it doesn't know, the tool's result is {"error": ...} with the API's own words, so the model can call again. A network failure is the call's error: the agent shows the model its text and the run goes on.
datacircle.Config sets the HTTPClient the tools use (a timeout, a proxy). nil uses http.DefaultClient.
Network
Each tool call makes one HTTPS GET request to https://api.datacircle.dev/v1 and nothing else. The request holds only the tool's own arguments: no key, no config, nothing from your chats. The API takes up to 60 calls a minute from one IP address. The tool waits once, for a minute at most, when the API asks the tool to wait. The module depends only on Microsoft Agent Framework for Go and golang.org/x/text, and stores nothing.
Links
MIT license.