# scoobydrew83/sfdt

Source: https://glimind.com/server/github%2Fscoobydrew83%2Fsfdt
Registry id: `github/scoobydrew83/sfdt`
Status: unknown

## Tools (57)

- `sfdt_apex_logs`: List recent Apex debug logs, or retrieve one log body by Id. Read-only.
- `sfdt_apex_run`: Execute Anonymous Apex in the org from a file or inline code. Mutating (the code runs with the authenticated user's permissions) — requires confirmExecution.
- `sfdt_apex_trace`: Manage Apex debug trace flags. action="list" is read-only; action="start"/"stop" write TraceFlag records in the org and require confirmExecution.
- `sfdt_api_versions`: Audit Salesforce API versions across local source and the org — per-type version distributions (Apex classes/triggers, Flows, LWC, Aura), sourceApiVersion, the 
- `sfdt_audit`: Run read-only org health diagnostics (suspicious setup audit trail, license usage, MFA coverage, unused Apex classes, inactive users, deprecated API versions, i
- `sfdt_automation_list`: List every automation component in the org and whether it is on — flows (including Process Builder), validation rules, duplicate rules, workflow rules and Apex 
- `sfdt_automation_set`: Turn one automation component on or off. This changes how the org behaves for EVERY user immediately. The prior state is recorded in the ledger, so sfdt_ledger_
- `sfdt_compare`: Compare metadata between two orgs, or between local source and an org. Returns compare results.
- `sfdt_coverage`: Report Apex code coverage for a Salesforce org — org-wide percentage plus per-class coverage. Read-only.
- `sfdt_data_delete`: Bulk-delete a configured data set in the org. Destructive — requires confirmExecution.
- `sfdt_data_export`: Export a configured data set from the org to local files. Reads from the org and writes local data files (read-only with respect to the org).
- `sfdt_data_import`: Import a configured data set into the org. Mutating (writes records) — requires confirmExecution.
- `sfdt_data_load`: Load a bulk data set (bulk.json) into the org over Bulk API v2 — insert or upsert by external id. Mutating (writes records) — requires confirmExecution.
- `sfdt_dependencies`: Show the metadata dependencies of a component — what it references and what references it. Read-only.
- `sfdt_deploy`: Perform a metadata deployment to a target Salesforce org. Supports a smart delta mode (only git-changed metadata with smart test selection). Potentially destruc
- `sfdt_docs`: Generate MkDocs-compatible project documentation (custom objects + fields, Apex classes, Flows) with an optional AI overview and a Mermaid ER diagram of the dat
- `sfdt_drift`: Run metadata drift detection between a target Salesforce org and local source directories.
- `sfdt_events_list`: List every subscribable streaming channel in the org — custom and standard platform events, custom channels, and Change Data Capture entities — with each channe
- `sfdt_events_publish`: Publish one platform event to the org's event bus. This FIRES real subscribers — flows, triggers, and any external system listening. Mutating — requires confirm
- `sfdt_events_tail`: Subscribe to a platform event or CDC channel and collect events. ALWAYS bounded — it returns after timeoutSeconds, or earlier once max events arrive or an expec
- `sfdt_field_impact`: Show what WRITES a Salesforce field — flows, workflow field updates and Apex — with each finding marked confirmed (the metadata states the write) or inferred (a
- `sfdt_flow_scan`: Analyze a Salesforce org's Flows for quality issues and anti-patterns (via @sfdt/flow-core) — lists FlowDefinitions and fetches each active version from the org
- `sfdt_get_parked_result`: Retrieve the full payload of a previously parked tool result.
- `sfdt_history`: Show recent sfdt run history (audit, monitor, quality, test, deploy, agent-test, …) from the local run index — trend org-health, test, and deploy outcomes over 
- `sfdt_ledger_list`: List org changes sfdt has recorded, newest first, with the state each replaced. Status is derived: applied, failed, undone, or PENDING — pending means the chang
- `sfdt_ledger_undo`: Reverse a recorded org change, restoring the state it replaced. Appends a compensating entry rather than editing history. Refuses a second undo of the same chan
- `sfdt_logs`: Retrieve the latest structured or raw execution logs for DevOps actions.
- `sfdt_manifest_from_git`: Generate package.xml and destructiveChanges.xml manifests using Git diff analysis.
- `sfdt_monitor`: Run org monitoring checks (org limit consumption, recent Apex job failures, security health-check score, org info, recent deployment health, legacy API usage, p
- `sfdt_notify`: Send the latest audit or monitor snapshot to configured notification channels (Slack/Teams/Google Chat/email/webhook), applying each channel's event filter and 
- `sfdt_packages_compare`: Compare installed package versions between two orgs — the one update question that IS fully answerable, since both orgs are already authenticated. Each package 
- `sfdt_packages_note`: Record the vendor URL, the latest version you have confirmed, and the internal owner for one package. Writes .sfdt/packages.json, a COMMITTED repo file, so the 
- `sfdt_permissions_drift`: Compare what the org grants on an object against what this repository declares in its profiles and permission sets. Verdicts: extra-in-org (granted in the org b
- `sfdt_permissions_fix`: Apply the field grants this REPOSITORY declares but the org is missing, for one object — the bulk fix, driven by code-reviewed source rather than a UI. Only mis
- `sfdt_permissions_grant`: Grant or remove field access for a PERMISSION SET. Profiles are refused: Salesforce does not permit direct updates to profile-owned permission entries, which mu
- `sfdt_permissions_matrix`: Show what each profile and permission set GRANTS on one object — object-level CRUD plus per-field read/edit. CRITICAL WORDING: these are GRANTED permissions, ne
- `sfdt_pr_comment`: Post the latest audit or monitor snapshot to the current pull request as a markdown comment (via the gh CLI).
- `sfdt_preflight`: Run sfdt pre-deployment validation checks (git clean state, branch naming rules, Apex test runs, coverage threshold checks, etc.). Useful before validation or d
- `sfdt_quality`: Analyze Apex test quality, generate IsTest boilerplate stubs, or generate a fix-plan for coverage gaps.
- `sfdt_quick_deploy`: Quick deploy a previously validated metadata validation job using validation job ID.
- `sfdt_record_clone`: Create a copy of a record from its createable fields, with optional overrides. Mutating — requires confirmExecution.
- `sfdt_record_edit`: Update fields on one record. Fields the org reports as non-editable are refused locally, with the reason, before anything is sent. Mutating — requires confirmEx
- `sfdt_record_get`: Read one Salesforce record and report which fields are editable, and why the rest are not. Read-only.
- `sfdt_release`: Build a release: generate the release manifest (package.xml) and release notes for a package. Writes release artifacts to the repo. Mutating — requires confirmE
- `sfdt_retrofit`: Retrofit metadata from a source org to a target org: retrieve specified metadata types, commit, then smart-deploy. Validate-only unless execute=true.
- `sfdt_rollback`: Roll back the last successful deployment using org backup snapshots.
- `sfdt_scan`: Fetch the complete metadata inventory of a Salesforce org (all component types and members). Read-only.
- `sfdt_scratch_create`: Create a Salesforce scratch org. Mutating (consumes a DevHub scratch-org allocation) — requires confirmExecution.
- `sfdt_scratch_delete`: Delete a scratch org by alias or username. Destructive — requires confirmExecution.
- `sfdt_scratch_pool`: Inspect or top up the scratch-org pool. action="status" is read-only; action="fill" creates orgs to reach the target size and requires confirmExecution.
- `sfdt_soql_describe`: Describe an sObject — fields (type, picklists, references), key prefix, and child relationships. Read-only.
- `sfdt_soql_plan`: Fetch the org query plans for a SOQL query (REST explain endpoint) — leading operation, relative cost, cardinality, and notes. The query is never executed. Read
- `sfdt_soql_query`: Execute a SOQL SELECT with a row bound enforced (config soql.defaultLimit/maxLimit — never unbounded). Returns records plus truncation metadata. Read-only.
- `sfdt_soql_search`: Find sObjects in the org by name substring (schema search across the org inventory). Read-only.
- `sfdt_soql_validate`: Validate a SOQL query without executing it — local static checks plus an org LIMIT 0 round-trip (degrades to local-only when the org is unreachable). Read-only.
- `sfdt_test`: Run Apex tests via the enhanced test runner. Optionally limit to specific test classes. Consumes org test resources; not metadata-mutating.
- `sfdt_validate`: Perform a deployment validation dry-run on Salesforce without committing changes.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
