Skip to main content
Glama

Set connection field values

set_connection_fields
Destructive

Set non-secret values for fields the stored overlay declares on a Composio catalogue card. Values are stored unsealed and may appear in evidence and answers; never supply secrets. Omitted names keep their values; an empty string clears a value after normalization. Only declared names are accepted. Required fields are enforced at execution, not when setting values. No republish happens: values never enter an artifact and no approval changes. Requires an Administrator and this connection’s permission for AI agent actions before approval. Next: dev_run_operation. 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>",
      "values": "<values>"
    },
    "name": "set_connection_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesNon-secret strings keyed by declared field name; omitted names keep their values, an empty string clears a value.
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

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: values are stored unsealed and may appear in evidence and answers, secrets must never be supplied, omitted names keep values, empty strings clear values, only declared names are accepted, required fields are enforced at execution, and no republish or approval changes occur. It also states the Administrator and connection permission requirements.

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 operation is front-loaded, but the description is bloated with a long procedural workflow and repeated points about no republish or approval changes. It includes tangential publication, request, and execution guidance that is not necessary to invoke this two-parameter tool correctly.

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?

Covers the important behavior, permissions, limitations, and workflow placement for a mutation tool with no output schema. It is more complete than necessary, though some of the broader overlay and request-flow detail is not essential for this specific tool.

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%, and the schema already documents that values are non-secret strings keyed by declared field name, with omitted names keeping values and empty strings clearing them. The description reinforces and slightly extends this with 'never supply secrets' and 'only declared names are accepted', but most semantics are already in the schema.

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: set non-secret values for fields declared by the stored overlay on a Composio catalogue card. It clearly distinguishes this from overlay editing via set_connector_overlay by focusing on field values, not republishing or artifact changes.

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

Usage Guidelines5/5

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

Gives explicit workflow context: use describe_connector_overlays, get_connector_operations, validate_connector_overlay, and set_connector_overlay first, then set_connection_fields if needed. It also states it is not available for MCP datasources and directs users to select_connector_tools for original tools.

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