# oil_sg_from_api

A read tool on the pyResToolbox MCP Server MCP server.

Agent View of the PolicyLayer registry record for `oil_sg_from_api`. HTML page: https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/oil-sg-from-api

## Facts

- Tool: `oil_sg_from_api`
- Server: pyResToolbox MCP Server (`gabrielserrao/pyrestoolbox-mcp`) — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp.md
- Homepage: https://github.com/gabrielserrao/pyrestoolbox-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

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

## Why oil_sg_from_api is rated Low

The tool name implies a straightforward unit conversion or calculation (API gravity to specific gravity), which is a read-only computational operation. No data is written, deleted, or executed. The empty description lowers confidence slightly, but the naming convention is consistent with other petroleum engineering calculation tools on this server (e.g., arps_rate, arps_cumulative).

From the tool's own definition: "Tool name 'oil_sg_from_api' suggests a calculation converting API gravity to specific gravity (SG) for oil — a read/compute operation with no side effects. Description is empty."

## Use case

AI agents call oil_sg_from_api to retrieve information from pyResToolbox MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches pyResToolbox MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "oil_sg_from_api": {}
  }
}
```

## Other tools on pyResToolbox MCP Server (107)

- `arps_rate` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/arps-rate.md
- `decline_forecast` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/decline-forecast.md
- `duong_rate` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/duong-rate.md
- `fit_decline` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/fit-decline.md
- `fit_decline_cumulative` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/fit-decline-cumulative.md
- `fit_relative_permeability` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/fit-relative-permeability.md
- `flowing_bhp` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/flowing-bhp.md
- `gas_pseudopressure` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/gas-pseudopressure.md
- `gas_rate_radial` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/gas-rate-radial.md
- `geomech_breakout_stress_inversion` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-breakout-stress-inversion.md
- `geomech_critical_mud_weight_collapse` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-critical-mud-weight-collapse.md
- `geomech_fault_stability` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-fault-stability.md
- `geomech_hydraulic_fracture_width` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-hydraulic-fracture-width.md
- `geomech_reservoir_compaction` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-reservoir-compaction.md
- `geomech_sand_production` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/geomech-sand-production.md
- `oil_material_balance` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/oil-material-balance.md
- `oil_rate_radial` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/oil-rate-radial.md
- `operating_point` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/operating-point.md
- `parameter_sweep` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/parameter-sweep.md
- `rachford_rice_flash` — Execute — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/rachford-rice-flash.md
- `beta_to_lorenz` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/beta-to-lorenz.md
- `create_oil_pvt` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/create-oil-pvt.md
- `evaluate_jerauld` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/evaluate-jerauld.md
- `evolved_gas_sg` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/evolved-gas-sg.md
- `fit_ratio` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/fit-ratio.md
- `gas_fws_sg` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/gas-fws-sg.md
- `generate_aquifer_influence` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/generate-aquifer-influence.md
- `generate_black_oil_table` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/generate-black-oil-table.md
- `generate_black_oil_table_og` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/generate-black-oil-table-og.md
- `generate_layer_distribution` — Other — https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp/generate-layer-distribution.md
- …and 77 more: https://policylayer.com/tools/gabrielserrao-pyrestoolbox-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=gabrielserrao-pyrestoolbox-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/gabrielserrao-pyrestoolbox-mcp
