Skip to main content
Glama

set_current

Protect devices by setting the current limit before enabling output. Use this to define the maximum current for a power supply channel.

Instructions

Set the current limit. A tight current limit is the cheapest DUT protection - set it before output_on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ampsYes
portNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that setting a tight current limit is protective and should precede output_on, but does not describe idempotency, mutability while output is on, or error conditions. Adequate but incomplete.

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

Conciseness5/5

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

Two sentences, no wasted words. Front-loaded with the core purpose. Efficient and to the point.

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

Completeness3/5

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

Given no annotations, no output schema, and two parameters (one undocumented), the description covers the bare essentials: purpose and a usage hint. Lacks details on behavior, side effects, or parameter constraints, which are expected for a minimal viable description.

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

Parameters2/5

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

The description does not explain the 'amps' parameter (units, meaning) or the optional 'port' parameter at all. With 0% schema description coverage, the description should compensate but adds no parameter-level detail beyond the name.

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?

Description clearly states the verb 'Set' and resource 'current limit', distinguishing it from sibling tools like set_voltage. However, it does not explicitly mention the target device (power supply), though sibling context implies 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?

Provides explicit usage advice: set the limit before turning output on (output_on). This gives an order-of-operations hint and emphasizes the protection role. No explicit alternatives or when-not-to-use, but the hint is valuable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JacobBeningo/devpsu'

If you have feedback or need assistance with the MCP directory API, please join our Discord server