Skip to content

Commit 012094c

Browse files
author
Daniel Dror
committed
revert insturctions change
1 parent ebd0bd8 commit 012094c

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

fabric_rti_mcp/server.py

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,10 @@
1414
from fabric_rti_mcp.common import config, logger
1515
from fabric_rti_mcp.eventstream import eventstream_tools
1616
from fabric_rti_mcp.kusto import kusto_config, kusto_tools
17+
1718
# Global variable to store server start time
1819
server_start_time = datetime.now(timezone.utc)
1920

20-
KUSTO_INSTRUCTIONS = """
21-
- Kusto
22-
- Description: Kusto service for querying and managing data.
23-
- Guideline:
24-
- Clearly distinguish between different parts of queries (e.g. relational, graph, semantic similarity).
25-
Although they can be mixed, they have different semantics:
26-
- Relational queries focus on structured data and relationships.
27-
- Graph queries explore connections between entities. To use them you must have:
28-
- A graph reference (e.g. graph('name'))
29-
- A graph-match clause with a graph pattern (e.g. | graph-match (node)-[edge]->(target) project node, edge)
30-
- The graph-match node must have a projection clause to be valid
31-
- Semantic similarity queries assess the meaning and context of data.
32-
- Use series_cosine_similarity(vector_a, vector_b)
33-
- Don't guess schema / values. Always execute `kusto_get_entity_schema()` first,
34-
and if still unsure, use a simple query like `take 1` to understand the data.
35-
"""
3621

3722
def setup_shutdown_handler(sig: int, frame: Optional[types.FrameType]) -> None:
3823
"""Handle process termination signals."""
@@ -108,13 +93,7 @@ def main() -> None:
10893
stateless_http=config.stateless_http,
10994
)
11095
else:
111-
fastmcp_server = FastMCP(name, instructions="""
112-
This server has the following services:
113-
{ki}
114-
- EventStream
115-
- Description: EventStream service for processing and managing events.
116-
- Guideline: ``
117-
""".format(ki=KUSTO_INSTRUCTIONS))
96+
fastmcp_server = FastMCP(name)
11897

11998
# 1. Register tools
12099
register_tools(fastmcp_server)

0 commit comments

Comments
 (0)