Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/sdebruyn/fabric-dw-mcp-cli/functionsgit clone --depth 1 https://github.com/sdebruyn/fabric-dw-mcp-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/sdebruyn/fabric-dw-mcp-cli/functions)<a href="https://agentmods.dev/commands/sdebruyn/fabric-dw-mcp-cli/functions"><img src="https://agentmods.dev/badge/commands/sdebruyn/fabric-dw-mcp-cli/functions.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02398 |
| Opus 5 | $0.00000 | $0.01199 |
| Sonnet 5 | $0.00000 | $0.00480 |
| Haiku 4.5 | $0.00000 | $0.00240 |
Grade A, and why
functions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Functions
Manage T-SQL user-defined functions on Microsoft Fabric Data Warehouses and SQL Analytics Endpoints.
Targets: Data Warehouse / SQL Analytics Endpoint
CLI
functions create
Targets: Data Warehouse / SQL Analytics Endpoint
Create a new T-SQL user-defined function.
Synopsis
fdw [-w WORKSPACE] functions create [OPTIONS] [ITEM]
| Option | Description |
|---|---|
--name SCHEMA.FN |
Required. Qualified function name (e.g. dbo.fn_clean_input). |
--body TEXT |
Inline function body (parameter list, RETURNS clause, and implementation). |
--from-file PATH |
Path to a .sql file containing the function body. |
Exactly one of --body or --from-file must be provided.
Example
fdw -w MyWorkspace functions create SalesWH \
--name dbo.fn_clean_input \
--body "(@input NVARCHAR(100)) RETURNS NVARCHAR(100) AS BEGIN RETURN LTRIM(RTRIM(@input)) END"
functions drop
Targets: Data Warehouse / SQL Analytics Endpoint
Drop a T-SQL user-defined function. You will be asked to confirm unless --yes is passed.
Synopsis
fdw [-w WORKSPACE] functions drop [OPTIONS] [ITEM] QUALIFIED_NAME
| Option | Description |
|---|---|
--if-exists |
No-op when the function does not exist (DROP FUNCTION IF EXISTS). |
Example
fdw -w MyWorkspace --yes functions drop SalesWH dbo.fn_clean_input
functions get
Targets: Data Warehouse / SQL Analytics Endpoint
Get the full definition of a single T-SQL user-defined function, including its parameter list.
Synopsis
fdw [-w WORKSPACE] functions get [ITEM] QUALIFIED_NAME
QUALIFIED_NAME must be a dot-separated schema.fn_name string, e.g. dbo.fn_clean_input.
Example
fdw -w MyWorkspace functions get SalesWH dbo.fn_clean_input
functions list
Targets: Data Warehouse / SQL Analytics Endpoint
List T-SQL user-defined functions on a warehouse or SQL Analytics Endpoint. Pass --schema to filter by schema, or --kind to filter by function kind.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 292 lines · 0 tokens per session scan A 0dc0bac7a5e6
functions is a command published in the GitHub repository sdebruyn/fabric-dw-mcp-cli (10 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,398 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
generate-crud
Tu es un développeur Symfony senior. Tu dois générer un CRUD complet respectant la Clean Architecture, incluant Entity, Repository, Controller, Templates, Form, et Tests.
optimize-doctrine
Optimisation Requêtes Doctrine.
check_schema_version
Check the Flyway schema version of the SQLite database on a Docker volume.
migrate
Generate and manage database migrations.
generate-model
Génération Model SQLAlchemy.
sql_schema
Command "sql_schema" from agentis-tools/ctx, covering ctx sql — public schema (v1), stability contract, views, v1.symbols — one row per symbol and v1.edges — one row per relationship.