Skip to main content
Glama

Clear a connector overlay

remove_connector_overlay
Destructive

Clear the overlay with expected_revision, retaining its history, and republish the card. Returns revision, artifact, overlay validation report, pending Requests and invalidated approvals. A conflict requires re-reading and reconciling. 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. An Administrator must enable this connection's permission for AI agent actions before approval. Custom modules use publish_module_version. If saved_revision is returned with an error, call republish_connector instead of repeating the edit. The compact reply carries revision, selection, artifact, counts, notices and pending Request references (query_id, name, operation, effect). suggested_queries lists every Request waiting for review against the published version, including kept Requests with the same IDs and unchanged republishes. created_suggestion_ids identifies only Requests this call created. suggested_query_count and created_suggestion_count are totals before byte-budget fitting; both lists carry omission receipts when truncated. kept_pending_suggestion_count counts unchanged pending Requests moved to the new version. Request references, created_suggestion_ids and next_tool naming list_query_suggestions are included only when that tool is offered to this caller on this call, and their counts go with them. invalidated_requests, invalidated_request_reasons and carried_forward_requests name approved Requests, so they and their counts appear only when list_approved_requests is offered; when the byte budget cuts one of those lists, omitted carries its true count and points at that reader. Read get_connector_operations for operations and full declarations. report covers submitted declarations for set/select and stored declarations for republish (empty after removal); connector carries immutable revision and review facts without the overlay document. A concurrent editor may advance the stored revision before publication; connector.overlay_revision reports what was actually pinned.

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>",
      "expected_revision": "<expected_revision>"
    },
    "name": "remove_connector_overlay"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
expected_revisionYesHighest stored revision from get_connector_operations, including removals; integer 0 through 2147483646.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description adds genuine context beyond them, notably that history is retained while the overlay is cleared, that publication happens as part of the call, and that a concurrent editor may advance the stored revision before publication. It also discloses the Administrator permission prerequisite for AI agent actions. Some of the later return-shape detail is hard to parse, but the substantive behavioral disclosures are strong.

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 core action is front-loaded, but the remainder is a sprawling block that mixes overlay editing workflow, tool-selection instructions, Requests lifecycle, proxy execution notes, truncation receipts and conditional field-visibility rules. Much of it concerns adjacent tools rather than this one, and the sentences chain multiple ideas without paragraphing, 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?

There is no output schema, and the description does substantial work describing the return payload (revision, artifact, validation report, pending Requests, invalidated approvals) plus truncation and conditional-field behavior. For a destructive, republishing operation, the combination of permission prerequisites, conflict handling and fallback routing is close to complete; the overload is the main cost.

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%, with datasource_id and expected_revision fully documented in the schema, so the baseline is 3. The description adds concurrency meaning to expected_revision ('A conflict requires re-reading and reconciling' and the concurrent-editor note), which is useful but modest given the schema already defines the parameter's range and source.

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 gives a specific verb and resource: clear the overlay at expected_revision, retain history, and republish the card. That distinguishes it reasonably from set_connector_overlay and validate_connector_overlay. However, the purpose is immediately buried under large blocks of workflow and return-value prose, so the tool's identity is harder to extract than it should be.

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?

There is real guidance: 'Not available for MCP datasources', plus an explicit fallback rule ('If saved_revision is returned with an error, call republish_connector instead of repeating the edit'). But the numbered 'Overlay editing' workflow lists describe, validate, set and set_connection_fields and never positions remove_connector_overlay within it, so the when-to-remove-versus-when-to-set choice 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources