Skip to main content
Glama

Estimate pKa values

estimate_pka
Read-onlyIdempotent

Estimate the pKa of each acidic site (the X–H, in water and in DMSO where tabulated) and the pKaH of each basic site of a structure, most acidic first, with the basis of each value. These are the same rule-based estimates as the Lone Pair editor's pKa tool: tabulated values (Evans–Ripin, Bordwell/Reich, Williams) with Hammett and inductive corrections, usually within ±1 unit for simple sites. Call this instead of searching the web for an estimate, and say the numbers are estimates. Atoms are numbered from 1 in the order the input writes them (SMILES order); atoms limits the answer to those atoms and also shows weak C–H acids, which are left out by default. Symmetric sites are listed once with a count. Not for drawing (use draw), formula and mass (use analyze) or bond energies (use estimate_bde).

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": "estimate_pka"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSet to true when `input` is a compound name (e.g. "aspirin") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false.
atomsNoOnly these atoms (numbered from 1 in input order). Default: every site.
inputNoThe structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure).
as_writtenNoDraw atoms that have too many bonds instead of refusing the structure. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety and idempotency are covered. The description still adds real context beyond them: the methodology (tabulated Evans–Ripin/Bordwell/Williams values with Hammett and inductive corrections), accuracy (~±1 unit), output ordering (most acidic first), and the atom-numbering convention. It omits the PubChem network detail, but that lives in the schema's `name` parameter, so the lower bar for annotated tools gives a solid 3.

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 dense, front-loaded paragraph that leads with purpose, then method, then exclusions, then parameters. Every clause carries information, though it is packed tightly and could be broken into shorter, more scannable statements.

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?

With no output schema, the description carries the burden of explaining returns and does so (most-acidic-first ordering, basis of each value, symmetric sites listed once with a count, weak C–H acids under `atoms`). It is complete enough for a read-only estimate tool, with only the accuracy/method caveats already noted.

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 100%, so baseline is 3, but the description adds behavioral meaning the schema lacks: `atoms` not only limits the answer but also surfaces weak C–H acids otherwise hidden by default, and it pins down the 1-based input/SMILES ordering. This is genuine value beyond the schema text.

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 ('Estimate the pKa of each acidic site... and the pKaH of each basic site') and explicitly scopes what it is not ('Not for drawing (use draw), formula and mass (use analyze) or bond energies (use estimate_bde)'). An agent can distinguish it from every sibling 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 Guidelines5/5

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

Gives explicit when-to-use ('Call this instead of searching the web for an estimate') and names the alternatives with the conditions that select them (draw, analyze, estimate_bde). Nothing is left to inference about 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