dynamics_get_slow_plugins
Identify slow-performing plugins in Microsoft Dynamics CRM to improve system performance by analyzing execution times and pinpointing bottlenecks.
Instructions
Identifica plugins que estão tornando o sistema lento
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| minDurationMs | No | Duração mínima em ms |
Implementation Reference
- src/tools/telemetry/index.ts:365-376 (handler)The handler function for dynamics_get_slow_plugins which queries Dynamics plugintracelogs to identify slow plugins.
async (params: z.infer<typeof GetSlowQueriesSchema>) => { const result = await client.list("plugintracelogs", { select: [ "typename", "messagename", "primaryentity", "performanceexecutionstarttime", "performanceexecutionduration", "exceptiondetails", "depth", "createdon", ], filter: `performanceexecutionduration ge ${params.minDurationMs}`, orderby: "performanceexecutionduration desc", top: params.top, }); - src/tools/telemetry/index.ts:361-364 (registration)Registration of the dynamics_get_slow_plugins tool in the MCP server.
server.tool( "dynamics_get_slow_plugins", "Identifica plugins que estão tornando o sistema lento", GetSlowQueriesSchema.shape,