xmla-client
Skill42 starsChanged 50 days agoMITView on GitHub
Interrogate XML for Analysis (XMLA) SOAP endpoints, discover data sources and schema rowsets, and execute MDX or other provider-supported statements. Use for XMLA endpoint inspection, OLAP metadata discovery, connectivity diagnosis, or structured query execution; do not use for unrelated SOAP services.
In this repository45 other files it gives its agents.
- agent-rdf-memory/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- a2a-clientSkill
- acp-clientSkill
- csv-to-rdf-det-generatorSkill
- data-twinglerSkill
- dbpedia-query-skillSkill
- document-to-kg-skillSkill
- fediverse-crudSkill
- fuxi-engineerSkill
- infographic-describerSkill
- iodbc-dsn-managerSkill
- kg-generatorSkill
- linked-data-skillsSkill
- llm-routing-skillSkill
- monidSkill
- mpp-stripe-clientSkill
- mtls-curlSkill
- opal-agent-skill-assemblerSkill
- openlink-license-managerSkill
- openlink-license-readerSkill
- openlink-request-broker-configuratorSkill
- opml-rss-readerSkill
- osdi-inclusion-engineSkill
- pinchtabSkill
- rdf-det-variant-generatorSkill
- rdf-infographic-skillSkill
- resource-access-offers-generatorSkill
- rss-feed-generatorSkill
- s3-query-skillSkill
- screencast-recorderSkill
- set-webdav-resource-propertySkill
- sparql-faceted-browserSkill
- ucp-clientSkill
- uriburner-opal-agent-skillsSkill
- virtuoso-rdf-bulk-loaderSkill
- virtuoso-rdf-loaderSkill
- virtuoso-support-agentSkill
- wc2026-match-reportSkill
- weblog-from-webdavSkill
- website-from-webdavSkill
- wikidata-query-skillSkill
- world-cup-2026-navigatorSkill
- x402-buyerSkill
- youidSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use scripts/xmla_client.py to speak XMLA directly over SOAP 1.1.
- Very specific: line 12
Start with DISCOVER_DATASOURCES.
- Very specific: line 15
Use execute only when the user wants a statement run.
- Distinctive: line 18
Read references/xmla-protocol.md when choosing discovery rowsets, properties, output handling, or authentication.
- Distinctive: line 20
Read README.md when the user wants runnable, verified SQL or SPASQL/SPARQL-FED examples.
- Very specific: line 51
Use repeated --restriction NAME=VALUE and --property NAME=VALUE arguments for provider-specific discovery.
- Distinctive: line 58
Never place passwords or bearer tokens in command arguments, generated XML, logs, or skill files.
- Very specific: line 59
Prefer normal certificate validation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
XMLA Client
Use scripts/xmla_client.py to speak XMLA directly over SOAP 1.1. It uses only the Python standard library.
Workflow
- Start with
DISCOVER_DATASOURCES. Do not reject an endpoint because HTTPGETreturns 404; XMLA is exercised by a SOAPPOSTand a service may accept only that method. - Inspect the returned
DataSourceInfo, provider name, provider type, URL, and authentication mode. - Continue with
DISCOVER_SCHEMA_ROWSETSfor the selected data source. Then use an advertised schema rowset such asDBSCHEMA_CATALOGS,MDSCHEMA_CUBES, orMDSCHEMA_MEASURESwith appropriate restrictions. - Use
executeonly when the user wants a statement run. XMLA providers may accept MDX, SQL, or another command dialect. Treat data-changing statements as mutations and require explicit authorization before sending them. - On failure, preserve the HTTP status and SOAP Fault. Retry only when a changed binding, credential, property, or restriction is supported by evidence.
Read references/xmla-protocol.md when choosing discovery rowsets, properties, output handling, or authentication. Read references/demo-openlink-proof.md for the live OpenLink proof that motivated this client.
Read README.md when the user wants runnable, verified SQL or SPASQL/SPARQL-FED examples.
Commands
Discover data sources:
python3 scripts/xmla_client.py \
--endpoint https://example.com/XMLA \
discover --request-type DISCOVER_DATASOURCESDiscover catalogs for one advertised data source:
python3 scripts/xmla_client.py \
--endpoint https://example.com/XMLA \
--data-source-info 'DSN=Local_Instance' \
discover --request-type DBSCHEMA_CATALOGSExecute a statement from a file:
python3 scripts/xmla_client.py \
--endpoint https://example.com/XMLA \
--data-source-info 'DSN=Local_Instance' \
--catalog Demo \
execute --statement-file query.mdx --output-format pretty-xmlUse repeated --restriction NAME=VALUE and --property NAME=VALUE arguments for provider-specific discovery. Use --dry-run --output-format pretty-xml to inspect the SOAP envelope without sending it.
Credentials and TLS
- Basic authentication: set
XMLA_USERNAMEandXMLA_PASSWORD. The environment variable names can be changed with--username-envand--password-env. - Bearer authentication: set
XMLA_BEARER_TOKENor select another variable with--bearer-token-env. - XMLA
PropertyListauthentication: setXMLA_PROPERTY_USERNAMEandXMLA_PROPERTY_PASSWORD. Change the variable names with--xmla-username-envand--xmla-password-env. Use this whenDISCOVER_PROPERTIESadvertisesUserNameandPasswordproperties or a SOAP Fault explicitly requests them. - Never place passwords or bearer tokens in command arguments, generated XML, logs, or skill files.
- Prefer normal certificate validation. Use
--ca-certfor a private CA. Use--insecureonly for an explicitly approved diagnostic against a known endpoint. - For mutual TLS, use
--client-certand, when separate,--client-key.
Result discipline
Default JSON output contains normalized rowset rows and a row count. Use --output-format xml when exact server bytes matter and pretty-xml for inspection. --response-out preserves the unmodified response independently of formatted stdout. Do not claim a query succeeded unless the response is HTTP-successful and contains no SOAP Fault.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

