Skip to main content
Glama

Check a USB Type-C sink's CC terminations

datasheetvend_check_usb_c_sink
Read-onlyIdempotent

Check a USB-C powered device's CC pins against the USB Type-C specification's termination values: each CC pin's pull-down against 5.1 kohm (within 10% to read a current advertisement, within 20% for default power only), one resistor per CC pin, and whether the current the board draws is within what the source offered (default USB power, a 1.5 A / 3 A advertisement the board reads, or a negotiated Power Delivery contract). Optionally decodes a measured CC voltage into the source's advertisement. The reference values are returned with the answer. It does NOT read a Power Delivery controller's configuration, and does not check VBUS protection, ESD parts or data routing. Free with a DatasheetVend API key (no credits), no model call, reads no account data, stores nothing.

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": {
      "cc1_pulldown_ohms": "<cc1_pulldown_ohms>",
      "cc2_pulldown_ohms": "<cc2_pulldown_ohms>",
      "resistor_tolerance_pct": "<resistor_tolerance_pct>"
    },
    "name": "datasheetvend_check_usb_c_sink"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_roleNoSets default USB power: 0.5 A for usb2 (default), 0.9 A for usb3.
measured_cc_vNo
board_current_aNoThe most current the board draws from VBUS at 5 V.
cc1_pulldown_ohmsYes
cc2_pulldown_ohmsYes
reads_cc_advertisementNo
resistor_tolerance_pctYesThe resistors' own tolerance: 1 for a 1% part.
negotiates_power_deliveryNo
cc_pins_share_one_resistorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond that: free with an API key, no credits, no model call, reads no account data, stores nothing, and that reference values are returned with the answer. It still says nothing about failure behavior or how out-of-tolerance results are reported.

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 checks, then constraints, then cost/auth, then exclusions — a sensible order. Dense but nearly every clause carries information; the paragraph runs long and could be broken up, but there is little outright 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 9-parameter, no-output-schema tool this covers what is needed: what is validated, what reference values come back, and what is out of scope. The missing piece is how results are shaped for failing checks, but the description states reference values accompany the answer, which limits the gap.

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

Parameters4/5

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

Schema coverage is only 33%, so the description must carry the load and largely does: it encodes the 10%/20% tolerance interpretation, the 5.1 kohm reference, the 'one resistor per CC pin' meaning of cc_pins_share_one_resistor, the default USB power notion behind data_role, and the difference between reading an advertisement and negotiating PD. Remaining ambiguity is minor (exact units and semantics of measured_cc_v and reads_cc_advertisement booleans).

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 (check) and a precisely scoped resource (a USB-C sink's CC pin terminations), then enumerates the exact checks performed: pull-down vs 5.1 kohm, one resistor per CC pin, and drawn current vs the source's offer. An agent can distinguish this from siblings like check_power_tree or check_design_value without opening a schema.

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 bounds scope with negatives: it does NOT read a PD controller's configuration and does not check VBUS protection, ESD parts or data routing. It also flags the optional decoding path via measured_cc_v. It stops short of naming which sibling to use for the excluded concerns, so no explicit alternative routing.

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