Skip to main content
Glama

Coda Get Control

coda_get_control
Read-onlyIdempotent

Retrieve the current value, type, ID, and name of a control in a Coda doc, such as a slider or select list, to read its user-facing state.

Instructions

Get the current value of a control in a Coda doc.

Returns the control's name, ID, type, and current value. Controls include sliders, select lists, date pickers, text inputs, and buttons. The value reflects the current user-facing state. Use coda_list_controls to discover available controls.

Input Schema

NameRequiredDescriptionDefault
doc_idYesThe doc ID containing the control
control_id_or_nameYesControl ID or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.4.14

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so safety is covered. The description adds value beyond that by disclosing the returned fields (name, ID, type, value), the control types covered, and that the value reflects current user-facing state — all useful since no output schema exists.

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 a compact list of returned fields and a routing hint. Slight redundancy between the returned-fields sentence and 'the value reflects the current user-facing state,' but no significant waste.

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 simple two-parameter read with no output schema, the description covers purpose, return fields, and the discovery path adequately. It omits only minor edge-case behavior such as what happens when a control is not found, which keeps it short of a 5.

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 description coverage is 100%, so both doc_id and control_id_or_name are already documented in the schema. The description adds no syntax or format guidance beyond what the schema provides, making the baseline 3 appropriate.

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 ('Get the current value of a control in a Coda doc') and enumerates what a control is, so the agent can distinguish it from sibling tools like coda_list_controls or coda_push_button. The scope is unambiguous.

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?

Explicitly routes discovery to 'coda_list_controls' and clarifies that the returned value is the current user-facing state. It gives clear context for when this tool applies, though it does not state when-not to use it (e.g., for button-press side effects, see coda_push_button).

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