Skip to main content
Glama
ADIKANT

datalens-dev-mcp

by ADIKANT

dl_object_diff

Read-onlyIdempotent

Read one saved object and return a compact diff without mutation. Supply patch or, for native dashboard tabs, dashboard_patch with addressed items/layout/connections. Set include_proposed=true only when the full merged snapshot is needed.

Instructions

Read one saved object and return a compact diff without mutation. Supply patch or, for native dashboard tabs, dashboard_patch with addressed items/layout/connections. Set include_proposed=true only when the full merged snapshot is needed.

Input Schema

NameRequiredDescriptionDefault
patchNo
object_idYes
object_typeYes
artifact_pathNo
artifact_sha256No
dashboard_patchNo
include_proposedNo
expected_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.34
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "required": [
      -      "patch"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "object_type": {
      -        "const": "dashboard"
      -      }
      -    },
      -    "required": [
      -      "dashboard_patch"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "patch"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "artifact_path"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "object_type": {
      +        "const": "dashboard"
      +      }
      +    },
      +    "required": [
      +      "dashboard_patch"
      +    ]
      +  }
      +]
    • addedInput schema / properties / artifact_path
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / artifact_sha256
      Added value: +{
      +  "pattern": "^[a-f0-9]{64}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / expected_revision
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed4 schema fields changedv1.2.27
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "required": [
      +      "patch"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "object_type": {
      +        "const": "dashboard"
      +      }
      +    },
      +    "required": [
      +      "dashboard_patch"
      +    ]
      +  }
      +]
    • addedInput schema / properties / dashboard_patch
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "tabs": {
      +      "items": {
      +        "additionalProperties": false,
      +        "anyOf": [
      +          {
      +            "required": [
      +              "patch"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "items"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "globalItems"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "layout"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "connections"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "connections": {
      +            "additionalProperties": false,
      +            "minProperties": 1,
      +            "properties": {
      +              "add": {
      +                "items": {
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "remove": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "update": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "patch": {
      +                      "minProperties": 1,
      +                      "not": {
      +                        "anyOf": [
      +                          {
      +                            "required": [
      +                              "from"
      +                            ]
      +                          },
      +                          {
      +                            "required": [
      +                              "to"
      +                            ]
      +                          }
      +                        ]
      +                      },
      +                      "type": "object"
      +                    },
      +                    "to": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to",
      +                    "patch"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "globalItems": {
      +            "additionalProperties": false,
      +            "minProperties": 1,
      +            "properties": {
      +              "add": {
      +                "items": {
      +                  "properties": {
      +                    "id": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "remove": {
      +                "items": {
      +                  "oneOf": [
      +                    {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "id": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "namespace": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "id"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "update": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "anyOf": [
      +                    {
      +                      "required": [
      +                        "patch"
      +                      ]
      +                    },
      +                    {
      +                      "required": [
      +                        "group"
      +                      ]
      +                    }
      +                  ],
      +                  "properties": {
      +                    "group": {
      +                      "additionalProperties": false,
      +                      "minProperties": 1,
      +                      "properties": {
      +                        "add": {
      +                          "items": {
      +                            "properties": {
      +                              "id": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "id"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "minItems": 1,
      +                          "type": "array"
      +                        },
      +                        "remove": {
      +                          "items": {
      +                            "oneOf": [
      +                              {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "id": {
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "namespace": {
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "id"
      +                                ],
      +                                "type": "object"
      +                              }
      +                            ]
      +                          },
      +                          "minItems": 1,
      +                          "type": "array",
      +                          "uniqueItems": true
      +                        },
      +                        "update": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "id": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "namespace": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "patch": {
      +                                "minProperties": 1,
      +                                "not": {
      +                                  "anyOf": [
      +                                    {
      +                                      "required": [
      +                                        "id"
      +                                      ]
      +                                    },
      +                                    {
      +                                      "required": [
      +                                        "namespace"
      +                                      ]
      +                                    }
      +                                  ]
      +                                },
      +                                "type": "object"
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "patch"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "minItems": 1,
      +                          "type": "array"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "id": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "namespace": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "patch": {
      +                      "minProperties": 1,
      +                      "not": {
      +                        "anyOf": [
      +                          {
      +                            "required": [
      +                              "id"
      +                            ]
      +                          },
      +                          {
      +                            "required": [
      +                              "namespace"
      +                            ]
      +                          }
      +                        ]
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "id": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "items": {
      +            "additionalProperties": false,
      +            "minProperties": 1,
      +            "properties": {
      +              "add": {
      +                "items": {
      +                  "properties": {
      +                    "id": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "remove": {
      +                "items": {
      +                  "oneOf": [
      +                    {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "id": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "namespace": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "id"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "update": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "anyOf": [
      +                    {
      +                      "required": [
      +                        "patch"
      +                      ]
      +                    },
      +                    {
      +                      "required": [
      +                        "group"
      +                      ]
      +                    }
      +                  ],
      +                  "properties": {
      +                    "group": {
      +                      "additionalProperties": false,
      +                      "minProperties": 1,
      +                      "properties": {
      +                        "add": {
      +                          "items": {
      +                            "properties": {
      +                              "id": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "id"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "minItems": 1,
      +                          "type": "array"
      +                        },
      +                        "remove": {
      +                          "items": {
      +                            "oneOf": [
      +                              {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "id": {
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  },
      +                                  "namespace": {
      +                                    "minLength": 1,
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "id"
      +                                ],
      +                                "type": "object"
      +                              }
      +                            ]
      +                          },
      +                          "minItems": 1,
      +                          "type": "array",
      +                          "uniqueItems": true
      +                        },
      +                        "update": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "id": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "namespace": {
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "patch": {
      +                                "minProperties": 1,
      +                                "not": {
      +                                  "anyOf": [
      +                                    {
      +                                      "required": [
      +                                        "id"
      +                                      ]
      +                                    },
      +                                    {
      +                                      "required": [
      +                                        "namespace"
      +                                      ]
      +                                    }
      +                                  ]
      +                                },
      +                                "type": "object"
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "patch"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "minItems": 1,
      +                          "type": "array"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "id": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "namespace": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "patch": {
      +                      "minProperties": 1,
      +                      "not": {
      +                        "anyOf": [
      +                          {
      +                            "required": [
      +                              "id"
      +                            ]
      +                          },
      +                          {
      +                            "required": [
      +                              "namespace"
      +                            ]
      +                          }
      +                        ]
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "layout": {
      +            "additionalProperties": false,
      +            "minProperties": 1,
      +            "properties": {
      +              "add": {
      +                "items": {
      +                  "properties": {
      +                    "i": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "i"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "remove": {
      +                "items": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "update": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "i": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "patch": {
      +                      "minProperties": 1,
      +                      "not": {
      +                        "anyOf": [
      +                          {
      +                            "required": [
      +                              "i"
      +                            ]
      +                          }
      +                        ]
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "i",
      +                    "patch"
      +                  ],
      +                  "type": "object"
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "patch": {
      +            "additionalProperties": false,
      +            "minProperties": 1,
      +            "properties": {
      +              "aliases": {
      +                "type": "object"
      +              },
      +              "settings": {
      +                "type": "object"
      +              },
      +              "title": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "tabs"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / include_proposed
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "object_type",
      -  "object_id",
      -  "patch"
      -]New value: +[
      +  "object_type",
      +  "object_id"
      +]
  3. Addedv1.2.0

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnly, idempotent, and non-destructive, so 'without mutation' is largely redundant. The description does add one behavioral fact beyond the annotations: include_proposed=true yields the full merged snapshot instead of the compact diff, which signals a response-size tradeoff.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the purpose followed by parameter-condition guidance. No padding, though the middle sentence is dense and compresses several conditions into one line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A complex 8-param tool with a deeply nested dashboard_patch schema, no output schema, and 0% parameter documentation. The description covers only a fraction of the inputs and never explains artifact_path/artifact_sha256 or expected_revision (likely optimistic concurrency), so an agent could easily mis-supply parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description must carry the load. It explains patch, dashboard_patch (items/layout/connections), and include_proposed, but says nothing about object_type, object_id, artifact_path, artifact_sha256, or expected_revision, leaving five parameters undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (read one saved object) and a distinctive output (compact diff without mutation), which separates it from dl_object_get. It does not explicitly name the sibling alternatives, but the diff-preview scope is clear enough for an agent to distinguish it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives conditional guidance on when to use patch vs dashboard_patch and when to set include_proposed=true, which is genuinely useful. However, it never says when to prefer this tool over dl_object_get, dl_object_revisions, or dl_editor_validate, so routing among siblings is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.