Skip to main content
Glama
rafteles2016

MCP Dynamics CRM Server

by rafteles2016

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
NameRequiredDescriptionDefault
topNo
minDurationMsNoDuração mínima em ms

Implementation Reference

  • 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,
      });
  • 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,

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafteles2016/mcpDynamics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server