Skip to main content
Glama

Show how a component is set up

component_inspect
Read-only

Inspect a Looker Studio component by ID to read its type, layout, data source, field slots, sorting, filters, and style settings before updating or copying it.

Instructions

Shows one component in full by its component_id: kind, page, position and size, data source, the fields in each Setup slot (by slot title, with aggregation), sorting, date range and filters, and each Style and Setup setting by its label with its current value. Use it before component_update or to copy a chart: the slot titles are the keys of the fields input and the labels are the keys of the style input, with the same value forms (colors as #RRGGBB; a label used twice is "Label#2"). Settings left at their default are listed by label without a value. Reads only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report_id": "<report_id>",
      "component_id": "<component_id>"
    },
    "name": "component_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_idYesReport id, or a Looker Studio report URL that contains /reporting/<id>.
component_idYesId of the component (cd-…), from component_list; it is looked up on every page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint is already declared and "Reads only" merely restates it, but the description adds real behavioral detail beyond the annotation: defaulted settings appear by label with no value, duplicate labels are disambiguated as "Label#2", colors are #RRGGBB, and component_id is resolved across all pages. It does not cover failure modes or what happens when a component id is absent, so a 4 rather than 5.

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?

Front-loaded with the core purpose, then the return contents, then usage guidance and value-format notes. Dense but every clause carries information; the long comma-separated enumeration of returned fields is the only mildly heavy part.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing the return value, and it does so field by field including value encodings and the default-omission rule. Combined with the usage triggers and the mapping to component_update's inputs, an agent has everything needed to call and consume it.

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

Parameters3/5

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

Schema coverage is 100%, so report_id and component_id are already fully documented, including the URL form for report_id and the cd-… form plus cross-page lookup for component_id. The description reinforces component_id's role but adds no syntax or constraint beyond the schema, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ("Shows one component in full by its component_id") and then enumerates exactly what is returned: kind, page, position and size, data source, Setup slot fields with aggregation, sorting, date range, filters, and Style/Setup settings with values. That enumeration distinguishes it from list-style siblings such as component_list and component_page_outline without needing to name them.

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

Usage Guidelines4/5

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

Gives two concrete when-to-use triggers: "before component_update" and "to copy a chart", plus the key precondition that the slot titles and labels returned here are the input keys for component_update's `fields` and `style`. There is no explicit when-not or named alternative for bulk inspection, so it falls short of a 5.

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