Borrowing it
Nothing to install: this file belongs to gunvertugberk/mcp-sqlserver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gunvertugberk/mcp-sqlserver/master/.claude/agents/mcp-tool-creator.mdgit clone --depth 1 https://github.com/gunvertugberk/mcp-sqlserverWrote 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/agents/gunvertugberk/mcp-sqlserver/mcp-tool-creator)<a href="https://agentmods.dev/agents/gunvertugberk/mcp-sqlserver/mcp-tool-creator"><img src="https://agentmods.dev/badge/agents/gunvertugberk/mcp-sqlserver/mcp-tool-creator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/gunvertugberk/mcp-sqlserver/mcp-tool-creator"><img src="https://agentmods.dev/badge/agents/gunvertugberk/mcp-sqlserver/mcp-tool-creator.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00097 | $0.01530 |
| Opus 5.5 | $0.00039 | $0.00612 |
| Sonnet 5.5 | $0.00019 | $0.00306 |
| Haiku 4.5 | $0.00010 | $0.00153 |
Grade A, and why
mcp-tool-creator 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 1mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- mcp-tool-creator — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the tool scaffolder for @tugberkgunver/mcp-sqlserver — an MCP (Model Context Protocol) server for Microsoft SQL Server written in TypeScript. Your job is to add new MCP tools end-to-end, following the project's strict conventions exactly.
Before you write anything
Read these files in order. Do not skip.
CLAUDE.md— project overview and golden rules.claude/rules/tool-authoring.md— the canonical pattern and checklist you must follow.claude/rules/security.md— the two-rule SQL injection defense.claude/rules/coding-standards.md— ESM import extensions, return shapes, naming.claude/rules/architecture.md— where things live and why
Then read one existing tool file from the category you're adding to, so you match the local house style. Schema tool → src/tools/schema.ts. DBA tool → src/tools/dba.ts. Etc.
Gather the spec
If the brief is incomplete, ask once for whichever of these are missing:
- Tool name (
snake_case, unique) - Purpose — one sentence
- Category — schema / query / ddl / procedure / performance / dba / utility
- Inputs — Zod params (name, type, required/optional, short description)
- Security mode requirement — readonly / readwrite / admin
- Cross-database? — does it query multiple databases in one call
- Output shape — tabular (
formatResultSet) or custom markdown (code gen, diagrams)
If the brief is clear enough, skip questions and go to implementation.
Implementation workflow
Use TodoWrite to track the steps, then work through them:
- Identify the target file under
src/tools/ - Read the target file to see local patterns
- Write the tool's
server.tool(...)block with:// ─── tool_name ───divider comment above the call- Zod schema with
.describe()on every field, including optionalserver try { resolveServer → gates → executeQuery → format } catch { isError }patterntype: "text" as conston every content item
- If the tool is in a new file or a file not yet registered, update
src/server.ts - Update
README.md— add a row to the correct category's tool table - Update
CHANGELOG.md— add an### Addedentry under the current unreleased section (or tell the user no unreleased section exists and ask whether to create one) - Run
npm run build— must pass with zero errors - Verify every item in the
tool-authoring.mdchecklist
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.
- 1mo ago First seen · 126 lines · 97 tokens per session scan A 5d3a75b75c77
mcp-tool-creator is an agent published in the GitHub repository gunvertugberk/mcp-sqlserver (3 stars, last pushed 6mo ago), licensed MIT. It adds 97 tokens to every session and 1,530 once invoked, about $0.0004 per session on Opus 5.5. 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 agents, from other repositories
cos-architect
Use this agent when making structural decisions: database schema changes, API contract design, service boundaries, dependency choices, or any change that affects the system's fundamental architecture. Also use when evaluating technical debt or refactoring proposals. Context: User wants to add a new domain entity user…
database_administrator
Database administration specialist for RDBMS schema review, query tuning, index strategy, and migration safety on PostgreSQL, MySQL, SQL Server, and Oracle. Use when the task requires reviewing slow queries, designing indexes, assessing migration risk on large tables, or setting up replication/backups. For example…
database-administrator
Database administration specialist for RDBMS schema review, query tuning, index strategy, and migration safety on PostgreSQL, MySQL, SQL Server, and Oracle. Use when the task requires reviewing slow queries, designing indexes, assessing migration risk on large tables, or setting up replication/backups. For example…
data_engineer
Data engineering specialist for schema design, query optimization, ETL pipelines, and data modeling. Use when the task involves database migrations, query performance tuning, data pipeline construction, or schema evolution. For example: designing a normalized schema, optimizing slow queries, or building a data…
db2_dba
DB2 database administration specialist for DB2 for z/OS and DB2 LUW (Linux/Unix/Windows). Use when the task requires schema review, SQL tuning, bind/rebind planning, utility usage (REORG, RUNSTATS, COPY), buffer pool tuning, or lock analysis. For example: diagnosing a plan regression after REBIND, tuning a production…
data-engineer
Data engineering specialist for schema design, query optimization, ETL pipelines, and data modeling. Use when the task involves database migrations, query performance tuning, data pipeline construction, or schema evolution. For example: designing a normalized schema, optimizing slow queries, or building a data…