Skip to main content
Glama

PHP Environment Info

get_php_info
Read-onlyIdempotent

Retrieves active PHP version, compile info, SAPI type, and loaded modules to verify PHP installation.

Instructions

Sistemdeki aktif PHP sürümünü, derleme bilgilerini, SAPI türünü ve yüklü modülleri döndürür. PHP kurulumunu doğrulamak için kullanılır.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive. Description adds listing of returned data (version, compile info, SAPI, modules) but no additional behavioral traits beyond what annotations convey.

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 concise sentences, first front-loads the action and output, second states purpose. No unnecessary words.

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?

Describes return data types (version, compile info, SAPI, modules) sufficient for understanding output without a schema. Could be more detailed about structure, but adequate for a simple diagnostic tool.

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?

No parameters in schema (0 params, 100% schema coverage). Description adds no parameter info, which is acceptable as there is none to document. Baseline 4 for zero-parameter tools.

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?

Specifically states the tool returns PHP version, compilation information, SAPI type, and installed modules. Purpose is to verify PHP installation, clearly differentiating from siblings like get_extension_info or get_php_ini.

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?

Explicitly states used to verify PHP installation, implying when to use. However, does not provide when-not-to-use or explicit contrasts with siblings, though the sibling context makes differentiation clear.

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/halitartuc/phpustik'

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