@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-addresses/>
  a sioc:Post ;
  dc:title "MCP abilities" ;
  dcterms:identifier 155309 ;
  dc:modified "2026-11-22T01:28:10Z"^^xsd:dateTime ;
  dc:created "2026-11-22T01:28:10Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-addresses/mcp-abilities/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Part of:</strong> <a href="https://lhero.org/portfolio/lh-addresses/">LH Addresses</a></li></ul>
<p class="wp-block-paragraph">Read-only for now. Write abilities will follow when members and clubs edit addresses through LH Addresses rather than LH Profile Page.</p>


<div class="lh_portfolio-ability-reference"><ul class="lh_portfolio-ability-reference-index"><li><a href="#ability-get-addresses"><code>get-addresses</code></a> Get Addresses</li><li><a href="#ability-get-status"><code>get-status</code></a> Get Status</li></ul><section class="lh_portfolio-ability-reference-ability" id="ability-get-addresses"><h2>Get Addresses</h2><p class="lh_portfolio-ability-reference-meta"><code>lh-addresses/get-addresses</code> <span class="lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly">Read-only</span> <span class="lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent">Idempotent</span></p><p>Lists a user&#039;s addresses and the sites that hold them, current addresses only unless <code>include_ended</code> is set. Each address gives its structured fields (country code, state code, town, postcode, lines), validation and geocode status, point once geocoded, source and when it was entered, and its uses: <code>site_id</code> 0 is the member&#039;s own book, any other <code>site_id</code> is an organisation it was given to, with the type (residential, postal, delivery and so on). History is never deleted: a changed address ends its row and starts a new one, and a site the member has left keeps its use on the old row, its last record. With <code>site_id</code>, only the addresses that site holds now are listed, which for a former member may be an ended row. <code>include_ended</code> adds replaced addresses and ended uses. Requires <code>install_plugins</code>, except that anyone signed in may list their own addresses.</p><figure class="wp-block-table lh_portfolio-ability-reference-params"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>user_id</code></td><td>integer</td><td>Yes</td><td></td><td>The user whose addresses to list.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Restrict to the addresses this site holds; 0 for the member&#039;s own book. Omit for every address.</td></tr><tr><td><code>include_ended</code></td><td>boolean</td><td>No</td><td><code>false</code></td><td>Also list replaced addresses and ended uses.</td></tr></tbody></table></figure></section><section class="lh_portfolio-ability-reference-ability" id="ability-get-status"><h2>Get Status</h2><p class="lh_portfolio-ability-reference-meta"><code>lh-addresses/get-status</code> <span class="lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly">Read-only</span> <span class="lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent">Idempotent</span></p><p>Reports how many addresses are stored, their validation and geocode status, and the progress of the LH Profile Page backfill. totals gives every address row, current rows and replaced (ended) rows. validation and geocode count addresses by status: validation is valid, incomplete, invalid or unchecked; geocode is pending, done, failed or skipped. backfill gives the pass, the last user ID handled, how many users were seen, saved, skipped (already copied) and failed, and whether and when it finished. Use get-addresses for one user. Requires <code>install_plugins</code>.</p><figure class="wp-block-table lh_portfolio-ability-reference-params"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>_</code></td><td>string</td><td>No</td><td><code>&quot;&quot;</code></td><td>Unused; pass an empty string.</td></tr></tbody></table></figure></section></div>"""^^rdf:XMLLiteral ;
  sioc:content """Part of: LH Addresses
Read-only for now. Write abilities will follow when members and clubs edit addresses through LH Addresses rather than LH Profile Page.


get-addresses Get Addressesget-status Get StatusGet Addresseslh-addresses/get-addresses Read-only IdempotentLists a user&#039;s addresses and the sites that hold them, current addresses only unless include_ended is set. Each address gives its structured fields (country code, state code, town, postcode, lines), validation and geocode status, point once geocoded, source and when it was entered, and its uses: site_id 0 is the member&#039;s own book, any other site_id is an organisation it was given to, with the type (residential, postal, delivery and so on). History is never deleted: a changed address ends its row and starts a new one, and a site the member has left keeps its use on the old row, its last record. With site_id, only the addresses that site holds now are listed, which for a former member may be an ended row. include_ended adds replaced addresses and ended uses. Requires install_plugins, except that anyone signed in may list their own addresses.ParameterTypeRequiredDefaultDescriptionuser_idintegerYesThe user whose addresses to list.site_idintegerNoRestrict to the addresses this site holds; 0 for the member&#039;s own book. Omit for every address.include_endedbooleanNofalseAlso list replaced addresses and ended uses.Get Statuslh-addresses/get-status Read-only IdempotentReports how many addresses are stored, their validation and geocode status, and the progress of the LH Profile Page backfill. totals gives every address row, current rows and replaced (ended) rows. validation and geocode count addresses by status: validation is valid, incomplete, invalid or unchecked; geocode is pending, done, failed or skipped. backfill gives the pass, the last user ID handled, how many users were seen, saved, skipped (already copied) and failed, and whether and when it finished. Use get-addresses for one user. Requires install_plugins.ParameterTypeRequiredDefaultDescription_stringNo&quot;&quot;Unused; pass an empty string.""" ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1>, <https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261121t143500-lh-addresses-mcp-abilities> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261121t143500-lh-addresses-mcp-abilities> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261121t143500-lh-addresses-mcp-abilities&feed=lhrdf&format=turtle> .
