Skip to main content
Glama
gabrielserrao

pyResToolbox MCP Server

stock_tank_gas_sg

Calculate specific gravity of gas liberated from oil at atmospheric conditions for sales quality, emissions estimation, and safety assessments.

Instructions

Calculate stock tank gas specific gravity.

Computes the specific gravity of gas liberated at stock tank conditions. This is the gas that comes out of solution when oil reaches atmospheric pressure and temperature.

Stock tank gas properties are needed for:

  • Sales gas quality specifications

  • Flare gas calculations

  • VOC emissions estimation

  • Safety assessments

Returns dimensionless specific gravity (air = 1.0).

Args: request: Stock tank gas parameters including oil properties and separator conditions

Returns: Dictionary with stock tank gas SG value(s), units, and inputs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully explains what the tool computes (specific gravity of gas liberated at stock tank conditions), describes the return format (dictionary with values, units, and inputs), and clarifies the dimensionless nature of the output (air = 1.0). It doesn't mention error conditions, performance characteristics, or validation requirements.

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?

The description is perfectly structured and front-loaded: purpose first, then context, applications, return format, and parameter/return sections. Every sentence earns its place with no redundancy or wasted words. The bulleted list of applications is appropriately concise.

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 the complexity of the calculation (5 nested parameters, no schema descriptions) and the existence of an output schema, the description does an adequate job explaining what the tool does and why. However, the complete lack of parameter documentation in both schema and description creates a significant gap for a tool with this level of technical complexity.

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?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. While it mentions that the 'request' parameter includes 'oil properties and separator conditions,' this is too vague given the 5 nested parameters (api, degf, sg_g, p, psep) that remain unexplained. The description doesn't provide meaningful guidance on what these parameters represent or how they interact.

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?

The description clearly states the tool's purpose with a specific verb ('Calculate') and resource ('stock tank gas specific gravity'), and distinguishes it from siblings by focusing on gas liberated at stock tank conditions. It explicitly differentiates from 'evolved_gas_sg' by specifying the context of atmospheric pressure and temperature.

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?

The description provides clear context for when to use this tool by listing specific applications (sales gas quality, flare gas calculations, VOC emissions, safety assessments). However, it doesn't explicitly state when not to use it or name alternatives among the many sibling tools, particularly 'evolved_gas_sg' which appears closely related.

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/gabrielserrao/pyrestoolbox-mcp'

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