Skip to content

Commit c2ba125

Browse files
authored
Update introduction.mdx
Emphasizes REST easier to use for LLMs than SQL
1 parent fe4926d commit c2ba125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/pages/en/ai-suite/token-api-mcp/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ There are two types of MCP available for use:
1111
- A REST-based MCP, the default, that communicates with the Token API.
1212
- A SQL-based MCP, for advanced users, that allows for communicating with the backend databases that powers the Token API.
1313

14-
The REST-based MCP simply exposes the API endpoints to your LLM based on the OpenAPI specification (available at https://token-api.thegraph.com/openapi). It automatically stays up-to-date with new Token API releases so you don't miss any new features !
14+
The REST-based MCP simply exposes the API endpoints to your LLM based on the OpenAPI specification (available at https://token-api.thegraph.com/openapi). It is the *recommended way* to setup an LLM with Token API as the set of tools it offers is straightforward to use for any language model. Additionnaly, it automatically stays up-to-date with new Token API releases so you don't miss any new features !
1515

16-
The SQL-based MCP provides the LLM tools to list databases and tables as well as run SQL queries directly on the data. It is meant for advanced users who need different use cases that the standard API endpoints cannot replicate. For best results, it is advised to use an LLM model specifically tuned for working with SQL.
16+
The SQL-based MCP provides the LLM tools to list databases and tables as well as run SQL queries directly on the data. It is meant for advanced users who need different use cases that the standard API endpoints cannot replicate. For best results, it is advised to use an LLM model specifically tuned for working with SQL as general purpose LLMs models (like Sonnet, Gemini, etc.) might not be able to generate valid queries efficiently.
1717

1818
## What You Can Do
1919

0 commit comments

Comments
 (0)