Skip to main content
Glama

pH Calculator

calculator_ph
Read-only

pH/pOH/[H+]/[OH-] for dilute aqueous solution at ~25 °C (pH+pOH=14).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculator_ph"
  }
}

Input Schema

NameRequiredDescriptionDefault
phNopH value.
pohNopOH value.
h_plusNo[H+] in mol/L.
oh_minusNo[OH-] in mol/L.

Output Schema

NameRequiredDescriptionDefault
phYes
pohNo
expressionYes
classificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety needs no restating. The description does add genuine value by disclosing the validity envelope — dilute aqueous, ~25 °C, pH+pOH=14 — which tells the agent when results stop being trustworthy. It does not say what happens if multiple or conflicting inputs are supplied.

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?

A single telegraphic line with zero padding, and the validity condition is placed up front. It is a fragment rather than a sentence, which makes it slightly cryptic on first read but costs no tokens.

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?

An output schema exists, so return values need no explanation, and the annotations cover the safety profile. The remaining gap is real for a tool with zero required parameters: nothing says which single input to supply or how conflicts among the four optional inputs are resolved.

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% and each property already carries a description and examples (e.g., h_plus '[H+] in mol/L'), so the schema does the documentation work. The description only echoes the parameter names and adds no syntax, unit, or mutual-exclusivity rules beyond them, making the baseline 3 appropriate.

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 description names the exact quantities handled (pH, pOH, [H+], [OH-]) and the calculation domain, so an agent can tell this apart from siblings like calculator_concentration or calculator_molarity. It stops short of stating the operation explicitly (i.e., that supplying any one value yields the other three), leaving the verb implicit.

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?

Usage is only implied by the domain qualifier 'dilute aqueous solution at ~25 °C', which usefully bounds when the tool is valid. There is no statement of when to prefer this over concentration/molarity/dilution siblings, and no mention of exclusivity among the four inputs.

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.