Skip to main content
Glama

Check a connector overlay

validate_connector_overlay
Read-onlyIdempotent

Dry run without state changes. Returns validation errors or published/excluded operations and an added/removed/changed diff against the bound artifact's connector snapshot. Changed and removed operations lose approval on publication. A report larger than one result is cut to fit, with field_counts and omitted naming what was cut; that report describes the document you submitted, so dry run a smaller overlay to read the rest. Not available for MCP datasources; select original tools with select_connector_tools. Overlay editing for a catalogue card: 1. Start with describe_connector_overlays and get_connector_operations(datasource_id). 2. Use validate_connector_overlay. 3. Save with set_connector_overlay. 4. set_connection_fields if needed; values are non-secret and do not republish or change approvals. To select original tools, use search_connector_tools, inspect get_connector_tool, then select_connector_tools with the current expected_revision. Try the published operation with dev_run_operation where execution is supported. Publication alone creates no pending Requests; choose the needed operations through the offered tools for creating Requests or the Requests page's Pending tab. list_query_suggestions and approve_query_suggestion review the chosen Requests. Finally, execute_approved_request runs approved, pinned overlay reads through the Composio proxy and selected original tools; see describe_connector_overlays' execution and original_tools for their limits.

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": {
      "datasource_id": "<datasource_id>",
      "overlay": "<overlay>"
    },
    "name": "validate_connector_overlay"
  }
}

Input Schema

NameRequiredDescriptionDefault
overlayYesThe declaration and original-tool selection document described by describe_connector_overlays; never code.
datasource_idYesThe datasource to diagnose or change (UUID); get_connector_operations also accepts a bound Custom module; tool selection requires a connected Composio or MCP card; operation and request declarations are not available for MCP datasources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already say readOnlyHint=true and destructiveHint=false, so the core safety profile is covered, but the description adds genuinely new information: changed and removed operations lose approval on publication, oversized reports are truncated with field_counts and omitted, and the truncation refers to the submitted document. The advice to 'dry run a smaller overlay to read the rest' is a concrete operational caveat that annotations could not convey.

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

Conciseness2/5

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

The first half is front-loaded and useful, but the second half sprawls into an entire publication and request workflow (set_connection_fields, search_connector_tools, list_query_suggestions, approve_query_suggestion, execute_approved_request) that is not needed to call this tool. The single paragraph mixes validation behavior, truncation, exclusions, and unrelated tool advice, making it hard to scan.

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

Completeness4/5

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

For a two-parameter validation tool with no output schema, the description covers what is returned (errors or published/excluded operations plus a diff), the truncation behavior, the MCP exclusion, and the surrounding workflow. The only real gap is that the shape of the returned report is described only in prose with no field-level detail beyond field_counts and omitted.

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% for both parameters, so the schema already documents datasource_id (UUID, MCP limitation, Custom module note) and overlay. The description adds only that the overlay is a 'declaration and original-tool selection document... never code,' which is useful framing but already present in the schema description. Baseline 3 applies when the schema carries the parameter burden.

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?

The opening sentence 'Dry run without state changes' plus the return description (validation errors or published/excluded operations and an added/removed/changed diff) makes clear this validates an overlay before saving, which distinguishes it from set_connector_overlay. The purpose is stated through behavior rather than a direct 'validates X' statement, and it is somewhat buried under dense prose, but an agent can still identify it.

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?

It places itself explicitly at step 2 of a numbered overlay-editing sequence, after describe_connector_overlays and get_connector_operations and before set_connector_overlay. It also excludes MCP datasources and redirects to select_connector_tools / search_connector_tools for tool selection. Pretty explicit when-to-use guidance, though much of the surrounding guidance concerns downstream tools rather than this one.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources